Skip to content

Commit

Permalink
Added note to example 12 that any bodies exceeding the 100 KB will be…
Browse files Browse the repository at this point in the history
… ignored
  • Loading branch information
WyriHaximus committed Dec 3, 2017
1 parent f1e5ff4 commit 9c30fd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/12-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@

// buffer and parse HTTP request body before running our request handler
$server = new StreamingServer(new MiddlewareRunner(array(
// Mote that any request bodies exceeding 100 KB will be ignored.
new RequestBodyBufferMiddleware(100000), // 100 KB max
new RequestBodyParserMiddleware(),
$handler
Expand Down

0 comments on commit 9c30fd2

Please sign in to comment.