- remove GophorConn, instead make Worker the object that
holds onto Host, Client, RootDir etc
- create BufferedDeadlineConn to wrap DeadlineConn and wrap all
read/write operations in buffered operations
- Have Responder hold onto BufferedDeadlineConn instead of writer
- version bump :)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
- Current Request structure renamed to Responder
- Request's RequestPath and Parameters separated into
new Request structure
- Responder sent on calls to render to filecontents,
but creation / caching of filecontents stores onto a
a copy of Request instead (as we don't need the extra host
or client info held by Responder)
- Cached gophermaps now do not cache regular files within them
if inserted, as these files could be over the cache file size
limit
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
- massively improve request handling -- passes request object between
functions now to encapsulate all the data needed
- writing is now handled by the passed request object with attached
writer
- files > max cached file size and fed directly to socket now instead
of read into buffer first (which would have caused MAJOR memory issues)
- CGI support further fleshed out, and timer started for child processes
that attempts to kill them if they don't clean up in time
- probably many more fixes i'm forgetting
Signed-off-by: kim (grufwub) <grufwub@gmail.com>