/*********************************************************
- * Copyright (C) 2016-2019 VMware, Inc. All rights reserved.
+ * Copyright (C) 2016-2020 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
result = MSGID(asyncsocket.proxyconnectfailed)
"Connection failed through proxy";
break;
+ case ASOCKERR_WEBSOCK_UPGRADE_NOT_FOUND:
+ result = MSGID(asyncsocket.websocketupgradefailed)
+ "Upgrade to websocket error: NOT FOUND, status code 404";
+ break;
}
if (!result) {
#define ASOCKERR_BUSY 16
#define ASOCKERR_PROXY_NEEDS_AUTHENTICATION 17
#define ASOCKERR_PROXY_CONNECT_FAILED 18
+#define ASOCKERR_WEBSOCK_UPGRADE_NOT_FOUND 19
/*
* Cross-platform codes for AsyncSocket_GetGenericError():