…kage: - Remove request.go, servefile.go, and cookie.go, which were duplicating a lot of functionality from Go's HTTP versions. I created them to fix bugs in Go's http libraries, which have since been fixed - Remove web.Request, and use http.Request instead. Most of the custom functionality I needed has been added to http.Request - Move Params to web.Context - Create a wrapper for http.ResponseWriter that allows connections to be closed - Use http.ServeFile and cgi.RequestFromMap (better performance and reliability) - Lots of small fixes
use io.ReadFull in fcgi implementation in some cases, particularly UNIX domain sockets, pipes, or other things with 4k (page-sized) buffers, FCGI requests longer than that buffer size are truncated by io.Reader.Read returning fewer bytes than the full slice size. Fix this by using io.ReadFull
… for doing that. Fixed some comments for some nearby methods.