[mod_wstunnel] fix for frames larger than 64k (fixes #2858)

(thx rschmid)

x-ref:
  "Wrong websocket frametype if frame is longer then UINT16_MAX"
  https://redmine.lighttpd.net/issues/2858
personal/stbuehler/fix-fdevent
Glenn Strauss 2018-01-19 22:17:42 -05:00
parent 1c594f0629
commit 30fe3684f6
1 changed files with 0 additions and 1 deletions

View File

@ -1122,7 +1122,6 @@ static int send_rfc_6455(handler_ctx *hctx, mod_wstunnel_frame_type_t type, cons
len = 1+MOD_WEBSOCKET_FRAME_LEN16_CNT+1;
}
else {
memset(mem, 0, sizeof(mem));
mem[1] = MOD_WEBSOCKET_FRAME_LEN63;
mem[2] = 0;
mem[3] = 0;