Supports these standard requests (which may be disabled):
Used as a based class for other handlers.
Events generated:
| Event Name | Type | Description |
|---|---|---|
| xtn_info | AW_EVENT_TYPE_STRING | Log file record of the form: action|clientip|url|response_code |
#include "monitor.h"
#include "trie.h"
Go to the source code of this file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boolean options
|
|
|
|
|
|
The state codes for each state on xtn, nominal path is straight thru.
|
|
|
The type codes for each xtn.
|
|
||||||||||||||||||||
|
Create a www handler. aw_create_wwwhandler
|
|
|
Free handler and all associated resources. aw_free_wwwhandler
|
|
||||||||||||||||||||||||
|
Init a www handler. aw_init_wwwhandler
|
|
||||||||||||||||
|
Append to xtn->cgi.page.data. aw_wwwhandler_append_cgipage
|
|
||||||||||||||||||||||||
|
Run prog rebinding stdout to socket. aw_wwwhandler_do_exec
|
|
||||||||||||
|
Find string value associated with key from header in cgi GET or POST. aw_wwwhandler_find_cgiheader_line
|
|
||||||||||||
|
Find string value associated with key from form. aw_wwwhandler_get_cgiarg
|
|
||||||||||||||||
|
Find string value associated with key from form for mutli select. aw_wwwhandler_get_multi_cgiarg
|
|
||||||||||||||||
|
printf() to xtn->cgi.page.data aw_wwwhandler_prinf_cgipage
|
|
||||||||||||||||||||||||||||||||||||
|
Send a 200 response. aw_wwwhandler_tx_200
|
|
||||||||||||||||
|
Send 200 reponse for cgi page. aw_wwwhandler_tx_cgi200
|
|
||||||||||||
|
Write xtn->cgi.page.data to socket and free at end of xtn. aw_wwwhandler_tx_cgibuffer
|
|
||||||||||||||||||||
|
Reply w/http error code. aw_wwwhandler_tx_error
|
|
||||||||||||
|
Write file as content. aw_wwwhandler_tx_file
|
|
||||||||||||
|
Write xtn->buffer to socket. aw_wwwhandler_tx_header
|
|
||||||||||||||||
|
Write metadata for file as HEAD response. aw_wwwhandler_tx_metadata
|