We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717ad3a commit 3f6856fCopy full SHA for 3f6856f
webserver/proxyclient.cpp
@@ -401,6 +401,7 @@ namespace http {
401
case status_connected:
402
CWebsocketFrame frame;
403
if (frame.Parse((const uint8_t *)readbuf.c_str(), readbuf.size())) {
404
+ readbuf.clear();
405
switch (frame.Opcode()) {
406
case opcodes::opcode_ping:
407
write(CWebsocketFrame::Create(opcodes::opcode_pong, PONG, true));
@@ -463,7 +464,8 @@ namespace http {
463
464
{
465
m_pWebEm = webEm;
466
SetReconnectDelay(15);
- connect("proxy.mydomoticz.com", 443);
467
+ connect("::1", 2443);
468
+ //connect("proxy.mydomoticz.com", 443);
469
}
470
471
void CProxyClient::Disconnect()
0 commit comments