Mercurial > hg > nginx-tests
diff proxy_upgrade.t @ 368:fc6b8270469c
Tests: fixed typos.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 20 Jan 2014 21:09:58 +0400 |
parents | e7dc8f4d0a4b |
children | 5276aceb32a6 |
line wrap: on
line diff
--- a/proxy_upgrade.t +++ b/proxy_upgrade.t @@ -4,7 +4,7 @@ # Tests for http proxy upgrade support. In contrast to proxy_websocket.t # this test doesn't try to use binary WebSocket protocol, but uses simple -# plain text protol instead. +# plain text protocol instead. ############################################################################### @@ -136,7 +136,7 @@ sub upgrade_connect { my $buf = "GET / HTTP/1.1" . CRLF . "Host: localhost" . CRLF . ($opts{noheader} ? '' : "Upgrade: foo" . CRLF) - . "Connection: Upgade" . CRLF . CRLF; + . "Connection: Upgrade" . CRLF . CRLF; $buf .= $opts{message} . CRLF if defined $opts{message};