1 #ifndef SESSION_H_INCLUDED
2 #define SESSION_H_INCLUDED
4 #include "xmlrpc-c/abyss.h"
14 abyss_bool validRequest;
15 /* Client has sent, and server has recognized, a valid HTTP request.
16 This is false when the session is new. If and when the server
17 reads the request from the client and finds it to be valid HTTP,
20 TRequestInfo request_info;
26 /* Response status from handler. Zero means handler has not
31 abyss_bool serverDeniesKeepalive;
32 /* Server doesn't want keepalive for this session, regardless of
33 what happens in the session. E.g. because the connection has
34 already been kept alive long enough.
36 abyss_bool responseStarted;
37 /* Handler has at least started the response (i.e. called
45 TTable request_headers;
46 TTable response_headers;
50 abyss_bool chunkedwrite;
51 abyss_bool chunkedwritemode;
53 abyss_bool continueRequired;
54 /* This client must receive 100 (continue) status before it will
55 send more of the body of the request.