Commit Graph

20 Commits

Author SHA1 Message Date
Dietmar Maurer
17c8ec6486 try to add resonable warning if client connections vanished
The proxy call is done async, so the original connection can be
closed already. This just adds a reasonable warning message. We
can remove the message later if that turns out to work as expected.
2013-05-22 10:54:21 +02:00
Dietmar Maurer
e3110298e3 allow to upload files with spaces in filename 2013-05-22 06:44:04 +02:00
Dietmar Maurer
1319da8142 avoid warning about uninitialized value 2013-05-21 09:40:54 +02:00
Dietmar Maurer
5c49583304 fix bug #385: correctly handle Accept-Encoding 2013-05-13 09:09:52 +02:00
Dietmar Maurer
15903af61d do not use AnyEvent::Strict in production environment 2013-04-29 08:21:29 +02:00
Dietmar Maurer
88ad410336 pveproxy: implement if-modified-since 2013-04-23 11:53:32 +02:00
Dietmar Maurer
a908636e70 pveproxy: implement host based access control 2013-04-23 10:30:10 +02:00
Dietmar Maurer
f6c357cf35 code cleanups 2013-04-17 08:28:05 +02:00
Dietmar Maurer
2c32df3609 improve syslog for file uploads
Log correct file size and MD5SUM.
2013-04-16 09:37:47 +02:00
Dietmar Maurer
0266798235 stop keep-alive when there are many open connections
We try to avoid to reach the max_conn limit.
2013-04-16 09:09:41 +02:00
Dietmar Maurer
209b203ebf improve security by setting size limits 2013-04-16 08:59:50 +02:00
Dietmar Maurer
e66d68a923 accept len=0 for http requests 2013-04-16 07:02:58 +02:00
Dietmar Maurer
a81182b00b fix multipart parser
Content-Type is optional and not well defined, so do not use it.
2013-04-16 06:29:23 +02:00
Dietmar Maurer
d0547f7fde use correct protocol version for http response 2013-04-15 12:26:20 +02:00
Dietmar Maurer
d06a1c62c3 implement file upload
And remove CGI.pm dependency (because we want nonblocking upload).
2013-04-15 11:20:17 +02:00
Dietmar Maurer
5a68b2b2f0 do not use keep_alive for connections to localhost 2013-04-11 09:06:38 +02:00
Dietmar Maurer
353fef2430 add tls_ctx to proxy requests
and fix a typo
2013-04-11 08:53:35 +02:00
Dietmar Maurer
f91072d56f code cleanups 2013-04-11 08:31:03 +02:00
Dietmar Maurer
c2e9823c0a use syncrounous IO for log writer 2013-04-11 07:47:33 +02:00
Dietmar Maurer
57f93db1b9 move HTTPServer into separate file 2013-04-11 06:48:01 +02:00