Mercurial > urweb
annotate include/urweb/types.h @ 2071:739172204214
Introduce recv timeout controlled by '-T' option in http.c
This should prevent a DDoS attack where attacker and keeps the connection open
but send no data.
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Tue, 02 Sep 2014 17:42:10 +0000 |
parents | a5b08bdfa450 |
children |
rev | line source |
---|---|
ezyang@1739 | 1 #ifndef URWEB_TYPES_H |
ezyang@1739 | 2 #define URWEB_TYPES_H |
ezyang@1739 | 3 |
adam@1881 | 4 #include "types_cpp.h" |
ezyang@1739 | 5 |
ezyang@1739 | 6 typedef struct uw_context *uw_context; |
ezyang@1739 | 7 typedef struct input *uw_input; |
ezyang@1739 | 8 |
ezyang@1739 | 9 #endif |