Module: sip-router
Branch: master
Commit: a2e7f65ee8b86d37a6772619ae10087a05219192
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a2e7f65…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Mon Apr 29 20:38:06 2013 +0100
modules/websocket: doubled the size of the buffer for adding headers to WebSocket
handshake responses
---
modules/websocket/ws_handshake.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/websocket/ws_handshake.c b/modules/websocket/ws_handshake.c
index d43c9e9..40dfbb3 100644
--- a/modules/websocket/ws_handshake.c
+++ b/modules/websocket/ws_handshake.c
@@ -86,7 +86,7 @@ static str str_status_upgrade_required = str_init("Upgrade
Required");
static str str_status_internal_server_error = str_init("Internal Server
Error");
static str str_status_service_unavailable = str_init("Service Unavailable");
-#define HDR_BUF_LEN (256)
+#define HDR_BUF_LEN (512)
static char headers_buf[HDR_BUF_LEN];
static char key_buf[base64_enc_len(SHA_DIGEST_LENGTH)];