libUPnP 1.14.19
|
Data Fields | |
http_message_t | msg |
int | http_error_code |
int | valid_ssdp_notify_hack |
parser_pos_t | position |
int | ent_position |
unsigned int | content_length |
size_t | chunk_size |
size_t | entity_start_position |
scanner_t | scanner |
size_t http_parser_t::entity_start_position |
offset in the the raw message buffer, which contains the message body. preceding this are the headers of the messsage.
Referenced by http_ReadHttpResponse(), and http_RecvPostMessage().
int http_parser_t::http_error_code |
read-only; in case of parse error, this contains the HTTP error code (4XX or 5XX).
Referenced by http_ReadHttpResponse(), http_RecvMessage(), http_RecvPostMessage(), and ReadResponseLineAndHeaders().
int http_parser_t::valid_ssdp_notify_hack |
read-only; this is set to 1 if a NOTIFY request has no content-length. used to read valid sspd notify msg.
Referenced by start_event_handler().