You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: general/include/definitions.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@
19
19
#defineCONNECTION_QUEUE 5000
20
20
#defineMAX_CONNECTIONS_ALLOWED 1
21
21
#defineBUFFER_SIZE 2048
22
-
22
+
// DOS_PROTECTION is a switcher used in socket.c, when it is true we close the connection immediately without read the whole message, else we read the entire message and we response with error.
// DOS_PROTECTION is a switcher used in socket.c, when it is true we close the connection immediately without read the whole message, else we read the entire message and we response with error.
218
+
if (DOS_PROTECTION) clean_request(NULL, *buf, args);
0 commit comments