miyagawa / Starman

Starman is a high-performance preforking Perl PSGI web server
http://search.cpan.org/dist/Starman
Other
287 stars 84 forks source link

implement --max-keepalive-requests (issue #124) #125

Open eserte opened 7 years ago

eserte commented 7 years ago

No tests for this change. One problem is that test_psgi() does not offer an easy way to set the server options (or I did not found out how). Here's a seperate commit which implements a test with too much code for my taste: https://github.com/eserte/Starman/commit/0dbde80b8c3f889ef71b3cc07c30842db6945223

The change may be manually tested using strace: