From: Oliver Kurth Date: Tue, 26 May 2020 22:32:58 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.2.0~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ad411ebeff55e6d7bfd15afc3fdd6fc3947511;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/asyncsocket.h b/open-vm-tools/lib/include/asyncsocket.h index 708b1fac1..11e2750c6 100644 --- a/open-vm-tools/lib/include/asyncsocket.h +++ b/open-vm-tools/lib/include/asyncsocket.h @@ -783,6 +783,11 @@ unsigned AsyncSocket_WebSocketGetNumAccepted(AsyncSocket *asock); Bool AsyncSocket_SetKeepAlive(AsyncSocket *asock, int keepIdle); +/* + * Send an HTTP error code, only valid on AsyncWebSockets + */ +void AsyncSocket_WebSocketServerSendError(AsyncSocket *asock, const char *text); + /* * Some logging macros for convenience