Commit Graph

9 Commits

Author SHA1 Message Date
kim (grufwub)
8a67a88660 use net/url's path parser, pass more Request objects round instead of RequestPath
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-14 17:54:06 +01:00
kim (grufwub)
303a6bbcd0 remove in-line shell command support, add initial remap (according to regex) support
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-12 13:48:21 +01:00
kim (grufwub)
43ddf00b36 massively improve code commenting, fix SkipPrefixWriter bug
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-08 16:52:17 +01:00
kim (grufwub)
0b8c3b41ba add virtual filesystem support (remapping file paths)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-07 20:52:25 +01:00
kim (grufwub)
3a41efcc5b huge changes
- 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>
2020-05-05 23:46:50 +01:00
kim (grufwub)
6ac26c2225 further fixes to CGI 1.1 implementation
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-04 20:00:53 +01:00
kim (grufwub)
810d57ad66 fix request string parsing to skip initial '?' in request
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-04 18:24:13 +01:00
kim (grufwub)
6cd6adecca move requestpath contents into filesystemrequest, which is passed everywhere instead of individual variables
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-04 18:19:56 +01:00
kim (grufwub)
eac520031a inline shell commands, executable gophermaps, initial cgi-bin support
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-03 22:42:51 +01:00