TCPIP_HTTP_NET_EVENT_TYPE Enumeration
C
typedef enum {
TCPIP_HTTP_NET_EVENT_NONE = 0,
TCPIP_HTTP_NET_EVENT_FS_UPLOAD_COMPLETE,
TCPIP_HTTP_NET_EVENT_OPEN,
TCPIP_HTTP_NET_EVENT_CLOSE_DONE,
TCPIP_HTTP_NET_EVENT_CLOSE_TIMEOUT,
TCPIP_HTTP_NET_EVENT_CLOSE_POST_ERROR,
TCPIP_HTTP_NET_EVENT_CLOSE_REMOTE,
TCPIP_HTTP_NET_EVENT_FILE_OPEN,
TCPIP_HTTP_NET_EVENT_FILE_CLOSE,
TCPIP_HTTP_NET_EVENT_FILE_OPEN_ERROR = -1,
TCPIP_HTTP_NET_EVENT_FILE_NAME_ERROR = -2,
TCPIP_HTTP_NET_EVENT_FILE_NAME_SIZE_ERROR = -3,
TCPIP_HTTP_NET_EVENT_FILE_SIZE_ERROR = -4,
TCPIP_HTTP_NET_EVENT_FILE_READ_ERROR = -5,
TCPIP_HTTP_NET_EVENT_FILE_PARSE_ERROR = -6,
TCPIP_HTTP_NET_EVENT_DEPTH_ERROR = -7,
TCPIP_HTTP_NET_EVENT_DYNVAR_PARSE_ERROR = -8,
TCPIP_HTTP_NET_EVENT_FS_WRITE_ERROR = -9,
TCPIP_HTTP_NET_EVENT_FS_MOUNT_ERROR = -10,
TCPIP_HTTP_NET_EVENT_CHUNK_POOL_ERROR = -11,
TCPIP_HTTP_NET_EVENT_FILE_BUFFER_POOL_ERROR = -12,
TCPIP_HTTP_NET_EVENT_DYNVAR_ALLOC_ERROR = -13,
TCPIP_HTTP_NET_EVENT_UPLOAD_ALLOC_ERROR = -14,
TCPIP_HTTP_NET_EVENT_SSI_PARSE_ERROR = -15,
TCPIP_HTTP_NET_EVENT_SSI_COMMAND_ERROR = -16,
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_ERROR = -17,
TCPIP_HTTP_NET_EVENT_SSI_ALLOC_DESCRIPTOR_ERROR = -18,
TCPIP_HTTP_NET_EVENT_PEEK_ALLOC_BUFFER_ERROR = -19,
TCPIP_HTTP_NET_EVENT_SSI_ALLOC_ECHO_ERROR = -20,
TCPIP_HTTP_NET_EVENT_DYNVAR_ARG_NAME_TRUNCATED = 0x8001,
TCPIP_HTTP_NET_EVENT_DYNVAR_ARG_NUMBER_TRUNCATED = 0x8002,
TCPIP_HTTP_NET_EVENT_DYNVAR_RETRIES_EXCEEDED = 0x8003,
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_NUMBER_TRUNCATED = 0x8004,
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_UNKNOWN = 0x8005,
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_NUMBER_MISMATCH = 0x8006,
TCPIP_HTTP_NET_EVENT_SSI_VAR_NUMBER_EXCEEDED = 0x8007,
TCPIP_HTTP_NET_EVENT_SSI_VAR_UNKNOWN = 0x8008,
TCPIP_HTTP_NET_EVENT_SSI_VAR_VOID = 0x8009,
TCPIP_HTTP_NET_EVENT_SSI_HASH_CREATE_FAILED = 0x800a,
TCPIP_HTTP_NET_EVENT_SSI_VAR_DELETED = 0x800b,
TCPIP_HTTP_NET_EVENT_CHUNK_POOL_EMPTY = 0x8020,
TCPIP_HTTP_NET_EVENT_FILE_BUFFER_POOL_EMPTY = 0x8021,
TCPIP_HTTP_NET_EVENT_PEEK_BUFFER_SIZE_EXCEEDED = 0x8030
} TCPIP_HTTP_NET_EVENT_TYPE;
Description
Enumeration: TCPIP_HTTP_NET_EVENT_TYPE
This enumeration defines the types of the HTTP reported events when processing dynamic variables, files, etc.
Members
Members | Description |
---|---|
TCPIP_HTTP_NET_EVENT_NONE = 0 | No event. |
TCPIP_HTTP_NET_EVENT_FS_UPLOAD_COMPLETE | Notification that a FS upload operation was completed successfully. |
TCPIP_HTTP_NET_EVENT_OPEN | An attempt to open the connection was made, data received. - Subject to parsing and other validation, it may result into a valid connection. |
TCPIP_HTTP_NET_EVENT_CLOSE_DONE | The non-persistent connection was done and closed. |
TCPIP_HTTP_NET_EVENT_CLOSE_TIMEOUT | The connection was closed due to a client timeout. |
TCPIP_HTTP_NET_EVENT_CLOSE_POST_ERROR | The connection was closed due to a POST processing error. |
TCPIP_HTTP_NET_EVENT_CLOSE_REMOTE | The connection was closed by the client. |
TCPIP_HTTP_NET_EVENT_FILE_OPEN | A HTTP file was successfully opened. |
TCPIP_HTTP_NET_EVENT_FILE_CLOSE | A HTTP file was closed. |
TCPIP_HTTP_NET_EVENT_FILE_OPEN_ERROR = -1 | An error occurred when opening a HTTP file. |
TCPIP_HTTP_NET_EVENT_FILE_NAME_ERROR = -2 | A file name was not specified. |
TCPIP_HTTP_NET_EVENT_FILE_NAME_SIZE_ERROR = -3 | A file name was longer than the HTTP storage space. |
TCPIP_HTTP_NET_EVENT_FILE_SIZE_ERROR = -4 | File size error. |
TCPIP_HTTP_NET_EVENT_FILE_READ_ERROR = -5 | File read error. |
TCPIP_HTTP_NET_EVENT_FILE_PARSE_ERROR = -6 | File parse error: line too long. |
TCPIP_HTTP_NET_EVENT_DEPTH_ERROR = -7 | The depth allowed for a recursive call was exceeded. |
TCPIP_HTTP_NET_EVENT_DYNVAR_PARSE_ERROR = -8 | An error occurred when parsing: dynamic variable name terminator could not be found, for example. |
TCPIP_HTTP_NET_EVENT_FS_WRITE_ERROR = -9 | A write error was supported while performing an FS upload. |
TCPIP_HTTP_NET_EVENT_FS_MOUNT_ERROR = -10 | A write error was reported while mounting after an FS upload. |
TCPIP_HTTP_NET_EVENT_CHUNK_POOL_ERROR = -11 | The number of retries for getting a chunk from the pool has been exceeded. |
TCPIP_HTTP_NET_EVENT_FILE_BUFFER_POOL_ERROR = -12 | The number of retries for getting a file buffer has been exceeded. |
TCPIP_HTTP_NET_EVENT_DYNVAR_ALLOC_ERROR = -13 | Out of memory when trying to allocate space for a dynamic variable descriptor. Note that dynamic allocation is used for the dynamic variable descriptor. |
TCPIP_HTTP_NET_EVENT_UPLOAD_ALLOC_ERROR = -14 | Out of memory when trying to allocate space for a file upload. Note that dynamic allocation is used for the file upload buffer. |
TCPIP_HTTP_NET_EVENT_SSI_PARSE_ERROR = -15 | An error occurred when parsing an SSI command: SSI terminator could not be found, for example. |
TCPIP_HTTP_NET_EVENT_SSI_COMMAND_ERROR = -16 | An unknown/unsupported SSI command. |
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_ERROR = -17 | A SSI attribute error: command w/o attribute, etc. |
TCPIP_HTTP_NET_EVENT_SSI_ALLOC_DESCRIPTOR_ERROR = -18 | Out of memory when trying to allocate space for a SSI command descriptor. Not that dynamic allocation is used for the SSI commands. |
TCPIP_HTTP_NET_EVENT_PEEK_ALLOC_BUFFER_ERROR = -19 | Out of memory when trying to allocate memory for the peek buffer. The peek operation failed. |
TCPIP_HTTP_NET_EVENT_SSI_ALLOC_ECHO_ERROR = -20 | Out of memory when trying to allocate memory for the SSI echo buffer. The echo operation failed. |
TCPIP_HTTP_NET_EVENT_DYNVAR_ARG_NAME_TRUNCATED = 0x8001 | Warning: a dynamic variable argument name too long; truncated. |
TCPIP_HTTP_NET_EVENT_DYNVAR_ARG_NUMBER_TRUNCATED = 0x8002 | Warning: too many arguments for a dynamic variable; truncated. |
TCPIP_HTTP_NET_EVENT_DYNVAR_RETRIES_EXCEEDED = 0x8003 | Warning: too many retries for a dynamic variable; stopped. |
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_NUMBER_TRUNCATED = 0x8004 | Warning: too many attributes for a SSI command; truncated. |
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_UNKNOWN = 0x8005 | Warning: unrecognized/unsupported SSI command attribute. |
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_NUMBER_MISMATCH = 0x8006 | Warning: wrong number of SSI command attributes. |
TCPIP_HTTP_NET_EVENT_SSI_VAR_NUMBER_EXCEEDED = 0x8007 | Warning: number of SSI set variables exceeded. |
TCPIP_HTTP_NET_EVENT_SSI_VAR_UNKNOWN = 0x8008 | Warning: SSI variable does not exist. |
TCPIP_HTTP_NET_EVENT_SSI_VAR_VOID = 0x8009 | Warning: SSI variable is void - not echoed. |
TCPIP_HTTP_NET_EVENT_SSI_HASH_CREATE_FAILED = 0x800a | Warning: SSI variable hash could not be created, allocation failed. There will be no run time SSI variable support. |
TCPIP_HTTP_NET_EVENT_SSI_VAR_DELETED = 0x800b | Event: SSI variable deleted. |
TCPIP_HTTP_NET_EVENT_CHUNK_POOL_EMPTY = 0x8020 | Warning: allocation from the HTTP chunk pool failed (the allocation will be retried). |
TCPIP_HTTP_NET_EVENT_FILE_BUFFER_POOL_EMPTY = 0x8021 | Warning: allocation from the HTTP file buffers pool failed (the allocation will be retried). |
TCPIP_HTTP_NET_EVENT_PEEK_BUFFER_SIZE_EXCEEDED = 0x8030 | Warning: the HTTP peek buffer is too small and cannot contain all the data available in the transport socket buffer and a HTTP search operation may fail. This will happen only for transport sockets that do not support peek operation with an offset parameter. |
Remarks
Multiple warnings can be set simultaneously.