]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 31 Jul 2020 20:36:34 +0000 (13:36 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 31 Jul 2020 20:36:34 +0000 (13:36 -0700)
open-vm-tools/lib/asyncsocket/asyncSocketBase.c
open-vm-tools/lib/include/asyncsocket.h

index 731918890cb6dc5ccf4a5ebf5db4d9f79e375633..ea761e62413443cd7ab79e4d440ad8baa21397f7 100644 (file)
@@ -787,6 +787,10 @@ AsyncSocket_MsgError(int asyncSockError)   // IN
       result = MSGID(asyncsocket.proxyconnectfailed)
                      "Connection failed through proxy";
       break;
+   case ASOCKERR_PROXY_INVALID_OR_NOT_SUPPORTED:
+      result = MSGID(asyncsocket.proxyinvalidornotsupported)
+                     "Invalid or not supported type proxy";
+      break;
    case ASOCKERR_WEBSOCK_UPGRADE_NOT_FOUND:
       result = MSGID(asyncsocket.websocketupgradefailed)
                      "Upgrade to websocket error: NOT FOUND, status code 404";
index 37081c0e4c7677d94b262f86565df4e58b9424e5..746dd78b73ddb7a84c2621ba862993fd44a0c0ca 100644 (file)
@@ -85,6 +85,7 @@ extern "C" {
 #define ASOCKERR_PROXY_CONNECT_FAILED        18
 #define ASOCKERR_WEBSOCK_UPGRADE_NOT_FOUND   19
 #define ASOCKERR_WEBSOCK_TOO_MANY_CONNECTION 20
+#define ASOCKERR_PROXY_INVALID_OR_NOT_SUPPORTED 21
 
 /*
  * Cross-platform codes for AsyncSocket_GetGenericError():