-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
158 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
http { | ||
recv_timeout 10s; | ||
send_timeout 10s; | ||
keepalive_timeout 10s; | ||
keepalive_timeout 10s; # ng | ||
|
||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
limit_except GET { | ||
deny all; | ||
} | ||
} | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
http { | ||
recv_timeout 10s; | ||
send_timeout 10s; | ||
|
||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
keepalive_timeout 10s; # ng | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
limit_except GET { | ||
deny all; | ||
} | ||
} | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
http { | ||
recv_timeout 10s; | ||
send_timeout 10s; | ||
|
||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
limit_except GET { | ||
deny all; | ||
} | ||
keepalive_timeout 10s; # ng | ||
} | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
http { | ||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
limit_except GET { | ||
deny all; | ||
} | ||
} | ||
} | ||
} # http | ||
keepalive_timeout 10s; # ng |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
http { | ||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
limit_except { # ng | ||
deny all; | ||
} | ||
} | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
http { | ||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
} | ||
limit_except GET { #ng | ||
deny all; | ||
} | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
http { | ||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
} | ||
} | ||
limit_except GET { #ng | ||
deny all; | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
http { | ||
recv_timeout 10s; | ||
send_timeout 10s; | ||
keepalive_timeout 10s; | ||
|
||
server { | ||
listen 4242 default_server; | ||
server_name webserv static_server; | ||
|
||
session_timeout 10s; | ||
|
||
location / { | ||
root html; | ||
index index.html; | ||
|
||
limit_except GET { | ||
deny all; | ||
} | ||
} | ||
} | ||
} # http |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5005,6 +5005,4 @@ TEST(TestParser, ParseHttp) { | |
|
||
print_error_msg(result, __LINE__); | ||
ASSERT_TRUE(result.is_err()); | ||
|
||
|
||
} |