فهرست منبع

modules/websocket: doubled the size of the buffer for adding headers to WebSocket handshake responses
(cherry picked from commit a2e7f65ee8b86d37a6772619ae10087a05219192)

Peter Dunkley 12 سال پیش
والد
کامیت
61f68eae79
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      modules/websocket/ws_handshake.c

+ 1 - 1
modules/websocket/ws_handshake.c

@@ -78,7 +78,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)];