CVSROOT: /cvs Module name: src Changes by: flor...@cvs.openbsd.org 2015/07/16 10:29:25
Modified files: usr.sbin/httpd : httpd.h server.c Log message: If we can read faster from disk than send data to the client stop reading from disk when we hold a certain amount of data in RAM. Re-enable reading once we send enough data to the client. Otherwise we might end up with the whole file (which can be huge) in RAM. Reported by Matthew Martin ( matt.a.martin AT gmail ) on bugs@, thanks! OK reyk@, benno@