1
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
Juliusz Chroboczek 0a49dc4569 Store HTTP server in atomic.Value.
Keeps the race detector from complaining.
2020-10-01 19:47:04 +02:00
Juliusz Chroboczek cca19444d6 Mark paths in recordings server as relative.
Since paths may contain colons, they could otherwise be mistaken for
URLs with a scheme.
2020-09-21 23:03:03 +02:00
Juliusz Chroboczek 4e14c29fbb Rework recordings server.
Simplifies the code, makes the files cachable, fixes permission issues.
2020-09-19 14:54:17 +02:00
Juliusz Chroboczek f5cb2ff328 Rework synchronisation between webserver and main.
We now exit with an error code if the webserver couldn't start.
2020-09-18 14:47:33 +02:00
Juliusz Chroboczek 6e84b641e6 Improve cachability of the web server. 2020-09-18 14:47:33 +02:00
Juliusz Chroboczek 4d79d10d6e Reimplement http.FileServer.
http.FileServer is inflexible, it is better to reimplement it
rather than trying to work around its limitations.
2020-09-18 13:40:37 +02:00
Juliusz Chroboczek 6d3932b491 Move webserver into its own package. 2020-09-18 13:11:21 +02:00