remove kgio from all read(2) and write(2) wrappers
commit31d0539878b0e2247a4f98bc0241e05d4738e500
authorEric Wong <e@80x24.org>
Sun, 26 May 2019 22:15:44 +0000 (26 22:15 +0000)
committerEric Wong <bofh@yhbt.net>
Mon, 15 Jan 2024 01:45:38 +0000 (15 01:45 +0000)
treea3bf7466aeaeaddb7bc77f6129a9ca332c705140
parenta86f5380f04ceba6ffb8e25caa0bdea8a37932a6
remove kgio from all read(2) and write(2) wrappers

It's fairly easy given unicorn was designed with synchronous I/O
in mind.  The overhead of backtraces from EOFError on
readpartial should be rare given our requirement to only accept
requests from fast, reliable clients on LAN (e.g. nginx or
yet-another-horribly-named-server).
lib/unicorn/http_request.rb
lib/unicorn/http_server.rb
lib/unicorn/stream_input.rb
lib/unicorn/worker.rb