#include "abyss_conn.h"


Go to the source code of this file.
Functions | |
| abyss_bool | HTTPKeepalive (TSession *const sessionP) |
| int32_t | HTTPRead (TSession *const sessionP, const char *const buffer, uint32_t const len) |
| const char * | HTTPReasonByStatus (uint16_t const code) |
| abyss_bool | HTTPWriteBodyChunk (TSession *const sessionP, const char *const buffer, uint32_t const len) |
| abyss_bool | HTTPWriteEndChunk (TSession *const sessionP) |
| abyss_bool | RequestAuth (TSession *r, char *credential, char *user, char *pass) |
| void | RequestFree (TSession *r) |
| void | RequestInit (TSession *r, TConn *c) |
| abyss_bool | RequestRead (TSession *r) |
| abyss_bool | RequestUnescapeURI (TSession *r) |
| abyss_bool | RequestValidURI (TSession *r) |
| abyss_bool | RequestValidURIPath (TSession *r) |
| abyss_bool HTTPKeepalive | ( | TSession *const | sessionP | ) |
Definition at line 799 of file abyss_http.c.
References TSession::keepalive, and TSession::status.
Referenced by processDataFromClient(), and ResponseWriteStart().
| int32_t HTTPRead | ( | TSession *const | sessionP, | |
| const char *const | buffer, | |||
| uint32_t const | len | |||
| ) |
| const char* HTTPReasonByStatus | ( | uint16_t const | code | ) |
| abyss_bool HTTPWriteBodyChunk | ( | TSession *const | sessionP, | |
| const char *const | buffer, | |||
| uint32_t const | len | |||
| ) |
Definition at line 755 of file abyss_http.c.
References TSession::chunkedwrite, TSession::chunkedwritemode, TSession::conn, and ConnWrite().
Referenced by ResponseWriteBody(), and sendDirectoryDocument().
| abyss_bool HTTPWriteEndChunk | ( | TSession *const | sessionP | ) |
Definition at line 782 of file abyss_http.c.
References TSession::chunkedwrite, TSession::chunkedwritemode, TSession::conn, ConnWrite(), FALSE, and TRUE.
Referenced by processDataFromClient(), ResponseWriteEnd(), and ServerDirectoryHandler().
| abyss_bool RequestAuth | ( | TSession * | r, | |
| char * | credential, | |||
| char * | user, | |||
| char * | pass | |||
| ) |
Definition at line 611 of file abyss_http.c.
References Base64Encode(), FALSE, GetToken(), NextToken(), RequestHeaderValue(), ResponseAddField(), ResponseStatus(), TRUE, and TSession::user.
| void RequestFree | ( | TSession * | r | ) |
Definition at line 111 of file abyss_http.c.
References TSession::cookies, freeRequestInfo(), TSession::header, ListFree(), TSession::ranges, TSession::request_headers, TSession::response_headers, StringFree(), and TableFree().
Definition at line 81 of file abyss_http.c.
References TSession::chunkedwrite, TSession::chunkedwritemode, TSession::conn, TSession::cookies, TSession::date, FALSE, TSession::header, ListInit(), TSession::ranges, TSession::request_headers, TSession::response_headers, TSession::status, StringAlloc(), and TableInit().
| abyss_bool RequestRead | ( | TSession * | r | ) |
Definition at line 484 of file abyss_http.c.
References TSession::conn, ConnReadHeader(), FALSE, getFieldNameToken(), initRequestInfo(), NextToken(), parseRequestLine(), port, processHeader(), query, readRequestLine(), TSession::request_headers, ResponseStatus(), and TableAdd().
| abyss_bool RequestUnescapeURI | ( | TSession * | r | ) |
| abyss_bool RequestValidURI | ( | TSession * | r | ) |
Definition at line 556 of file abyss_http.c.
References FALSE, m_options, TSession::method, TRUE, TSession::uri, and xmlrpc_streq().
| abyss_bool RequestValidURIPath | ( | TSession * | r | ) |
1.5.6