Commit Graph

18 Commits

Author SHA1 Message Date
Farook Al-Sammarraie
c66afeb4d3
Merge branch 'master' into stream_body 2020-10-21 23:29:18 +03:00
The-EDev
9728d652df changed megabyte name to res_stream_threshold_ 2020-10-21 20:54:28 +03:00
The-EDev
bcd135fad6 set connection to stream any respose body larger than 1MB
using the same system for static file serving
2020-10-21 04:02:09 +03:00
The-EDev
63ea212e1a shutting down socket before closing the connection 2020-10-20 11:48:35 +03:00
Igor Mróz
b6f8e805ff
Fix friend declaration. 2020-10-19 18:55:40 +02:00
The-EDev
dc46f2848a added 405 error for when a rule is found but the method is incorrect 2020-10-15 00:09:17 +03:00
The-EDev
5382ce7b58 Update http_connection.h 2020-10-13 00:53:27 +03:00
The-EDev
964e8f857b removed sendfile function due to trouble with large files (the sendfile command would just hang until timeout without fully sending the file).
Added 404 and fixed some issues with windows error message
sendfile still incompatible with windows due to the stat function
also changed the buffer size to 16KB
2020-10-11 19:00:24 +03:00
The-EDev
7ba3c9161f fixed type mismatch issue when using SSL 2020-10-09 16:01:24 +03:00
Farook
3f38caa0d0 stole @digitalist's sendFile code and made it work with newer boost 2020-10-04 15:05:26 +03:00
Igor Mróz
ef7fa91631 #146 Added field with remote IP address. 2018-09-28 21:16:36 +02:00
Simon Rasmussen
f88657a22a Added 413 and 429 status codes 2017-10-20 15:20:18 +02:00
Jaeseung Ha
112e86b906 Merge pull request #194 from vadz/atomic-conn-count
Use atomic type for connection count shared between threads
2017-09-17 18:30:24 +09:00
Jamie Bullock
679fe4a8ac Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
2017-09-04 16:40:40 +01:00
Jamie Bullock
9a1e4aefdd Revert "Add support for HTTP 422 status code"
This reverts commit 6e4e66ad12.
2017-09-04 16:38:51 +01:00
Jamie Bullock
6e4e66ad12 Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
2017-09-04 16:08:02 +01:00
Vadim Zeitlin
bd9a9ace4a Use atomic type for connection count shared between threads
Even if this variable is only used in debug mode, it's still bad to have data
races on it, as it was the case (and reported by thread sanitizer) before.
2016-11-15 16:44:45 +01:00
ipknHama
3081e4e1a8 Cleanup include folder into crow subfolder
- only crow.h is exposed now
2016-09-21 23:11:06 +09:00