Fixed a bug with the path in clientreq. If the path was empty it caused a
malformed request to be sent.
This commit is contained in:
1 parent
770c71969e
commit
d0a05357a1
2 files changed
+12
-5
No files matched your search
@@ -2,6 +2,9 @@
|
||||
|
||||
* src/reqs.c (clientreq): Removed the hack for POST methods with
|
||||
regard to anonymous access.
|
||||
(clientreq): fixed a bug with the request line. If the PATH was
|
||||
empty, it would send an malformed request to the server. This is
|
||||
checked now and if the path is empty, a "/" is used instread.
|
||||
|
||||
* src/config.h (SOCK_TIMEOUT): Increased the time out to 10
|
||||
seconds.
|
||||
|
||||
Reference in new issue
Block a user