changeset 368:fc6b8270469c

Tests: fixed typos.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 20 Jan 2014 21:09:58 +0400
parents 0726521e42f3
children 4ac3588485f5
files proxy_upgrade.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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};