Last active
April 10, 2023 18:59
Testing HTTP pipelining from the command line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://aaronhawley.livejournal.com/12621.html | |
(echo -en "GET / HTTP/1.1\nHost: fropl.com\n\nGET / HTTP/1.1\nHost: fropl.com\n\n"; sleep 0.1) | telnet localhost 80 | |
# Also: | |
perl -e '$| = 1; print "GET / HTTP/1.1\nHost: fropl.com\n\nGET / HTTP/1.1\nHost: fropl.com\n\n"; sleep (1)' | telnet localhost 80 | |
# Also (from https://github.com/ellzey/libevhtp/issues/86#issuecomment-19137572): | |
(echo -en "GET /1 HTTP/1.1\r\n\r\nGET /2 HTTP/1.1\r\n\r\n"; sleep 0.1) | nc localhost 8081 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment