소스 검색

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;