Commit Graph

8 Commits

Author SHA1 Message Date
R. Tyler Croy 5f1cb2323d Give the proxy a few more connections.
Hard to balance this while running locally since technically every connection
will be running at ~56k, so you might be getting more speed than is realistic.
2011-08-27 23:01:04 -07:00
R. Tyler Croy 3d5bb09bb2 Implement stream-based reading/writing to get a more accurate slowdown
After reading N bytes from the input socket (destination host) we delay an
interval calculated to be around 56k modem speeds, then write that data to the
output socket (proxy client)
2011-08-27 22:54:34 -07:00
R. Tyler Croy a721b81665 Dump the port number on start 2011-08-27 15:03:05 -07:00
R. Tyler Croy c03c0d68d0 Properly pass the status codes back to the client, including appropriately handling redirects 2011-08-27 15:02:31 -07:00
R. Tyler Croy debc59f3d5 Put my late-night concession on the lameness of this proxy into the README 2011-08-24 23:55:09 -07:00
R. Tyler Croy 297607c631 Clean things up a bit, properly follow redirects 2011-08-24 23:52:22 -07:00
R. Tyler Croy 85bde0f0c5 Add a first cut at a HTTP proxy that slows everything down 2011-08-24 23:32:49 -07:00
R. Tyler Croy 53151b1939 Initial commit 2011-08-24 21:48:41 -07:00