Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
2539a473
Commit
2539a473
authored
Sep 29, 2012
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test for byte range past EOF
parent
6bd35a4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
test.pl
test/test.pl
+3
-0
No files found.
test/test.pl
View file @
2539a473
...
@@ -180,6 +180,9 @@ my $cmd = "$exe ".
...
@@ -180,6 +180,9 @@ my $cmd = "$exe ".
$cmd
.=
' -cgi_interpreter perl'
if
on_windows
();
$cmd
.=
' -cgi_interpreter perl'
if
on_windows
();
spawn
(
$cmd
);
spawn
(
$cmd
);
o
(
"GET /hello.txt HTTP/1.1\nConnection: close\nRange: bytes=3-50\r\n\r\n"
,
'Content-Length: 15\s'
,
'Range past the file end'
);
o
(
"GET /hello.txt HTTP/1.1\n\n GET /hello.txt HTTP/1.0\n\n"
,
o
(
"GET /hello.txt HTTP/1.1\n\n GET /hello.txt HTTP/1.0\n\n"
,
'HTTP/1.1 200.+keep-alive.+HTTP/1.1 200.+close'
,
'HTTP/1.1 200.+keep-alive.+HTTP/1.1 200.+close'
,
'Request pipelining'
,
2
);
'Request pipelining'
,
2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment