فهرست منبع

fix seems OK - remove comment

bel 11 سال پیش
والد
کامیت
70bb07b3e4
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      src/civetweb.c

+ 0 - 2
src/civetweb.c

@@ -4938,8 +4938,6 @@ static void read_websocket(struct mg_connection *conn)
             }
         }
 
-        // TODO: check this !!!
-        // if (header_len > 0) {
         if (header_len > 0 && body_len >= header_len) {
             /* Allocate space to hold websocket payload */
             data = mem;