Skip to content

Commit

Permalink
add new key on config/server.php (Prevent incomplete reception of HTT…
Browse files Browse the repository at this point in the history
…P packets (important))
  • Loading branch information
amirfaramarzi authored Jun 8, 2024
1 parent 5fc7321 commit ced59d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
*/
'log_level' => SWOOLE_LOG_DEBUG ,
'log_file' => storagePath('logs/fomo.log') ,

/*
This key causes Fomo to receive a complete HTTP data packet and prevents it from receiving incomplete HTTP packets.
*/
'open_http_protocol' => true,
],

'ssl' => [
Expand Down

0 comments on commit ced59d1

Please sign in to comment.