internetarchive / warcprox

WARC writing MITM HTTP/S proxy
379 stars 54 forks source link

make test server multithreaded so tests will pass #84

Closed nlevitt closed 6 years ago

nlevitt commented 6 years ago

Merging this one (multithreaded server, multithreaded proxy) rather than #85 (single-threaded server, single-threaded proxy). The single-threaded option is nice because sometimes it reveals bugs that rarely or never come up when everything is multithreaded, and it's easier to reason about the behavior of the system and debug problems. Nevertheless, I'm choosing this one because it's more similar to a realistic workload. (Maybe we should do both? But the tests already take a long time to run...)