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

MembersDescription
TCPIP_HTTP_NET_EVENT_NONE = 0No event.
TCPIP_HTTP_NET_EVENT_FS_UPLOAD_COMPLETENotification that a FS upload operation was completed successfully.
TCPIP_HTTP_NET_EVENT_OPENAn 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_DONEThe non-persistent connection was done and closed.
TCPIP_HTTP_NET_EVENT_CLOSE_TIMEOUTThe connection was closed due to a client timeout.
TCPIP_HTTP_NET_EVENT_CLOSE_POST_ERRORThe connection was closed due to a POST processing error.
TCPIP_HTTP_NET_EVENT_CLOSE_REMOTEThe connection was closed by the client.
TCPIP_HTTP_NET_EVENT_FILE_OPENA HTTP file was successfully opened.
TCPIP_HTTP_NET_EVENT_FILE_CLOSEA HTTP file was closed.
TCPIP_HTTP_NET_EVENT_FILE_OPEN_ERROR = -1An error occurred when opening a HTTP file.
TCPIP_HTTP_NET_EVENT_FILE_NAME_ERROR = -2A file name was not specified.
TCPIP_HTTP_NET_EVENT_FILE_NAME_SIZE_ERROR = -3A file name was longer than the HTTP storage space.
TCPIP_HTTP_NET_EVENT_FILE_SIZE_ERROR = -4File size error.
TCPIP_HTTP_NET_EVENT_FILE_READ_ERROR = -5File read error.
TCPIP_HTTP_NET_EVENT_FILE_PARSE_ERROR = -6File parse error: line too long.
TCPIP_HTTP_NET_EVENT_DEPTH_ERROR = -7The depth allowed for a recursive call was exceeded.
TCPIP_HTTP_NET_EVENT_DYNVAR_PARSE_ERROR = -8An error occurred when parsing: dynamic variable name terminator could not be found, for example.
TCPIP_HTTP_NET_EVENT_FS_WRITE_ERROR = -9A write error was supported while performing an FS upload.
TCPIP_HTTP_NET_EVENT_FS_MOUNT_ERROR = -10A write error was reported while mounting after an FS upload.
TCPIP_HTTP_NET_EVENT_CHUNK_POOL_ERROR = -11The number of retries for getting a chunk from the pool has been exceeded.
TCPIP_HTTP_NET_EVENT_FILE_BUFFER_POOL_ERROR = -12The number of retries for getting a file buffer has been exceeded.
TCPIP_HTTP_NET_EVENT_DYNVAR_ALLOC_ERROR = -13Out 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 = -14Out 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 = -15An error occurred when parsing an SSI command: SSI terminator could not be found, for example.
TCPIP_HTTP_NET_EVENT_SSI_COMMAND_ERROR = -16An unknown/unsupported SSI command.
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_ERROR = -17A SSI attribute error: command w/o attribute, etc.
TCPIP_HTTP_NET_EVENT_SSI_ALLOC_DESCRIPTOR_ERROR = -18Out 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 = -19Out of memory when trying to allocate memory for the peek buffer. The peek operation failed.
TCPIP_HTTP_NET_EVENT_SSI_ALLOC_ECHO_ERROR = -20Out of memory when trying to allocate memory for the SSI echo buffer. The echo operation failed.
TCPIP_HTTP_NET_EVENT_DYNVAR_ARG_NAME_TRUNCATED = 0x8001Warning: a dynamic variable argument name too long; truncated.
TCPIP_HTTP_NET_EVENT_DYNVAR_ARG_NUMBER_TRUNCATED = 0x8002Warning: too many arguments for a dynamic variable; truncated.
TCPIP_HTTP_NET_EVENT_DYNVAR_RETRIES_EXCEEDED = 0x8003Warning: too many retries for a dynamic variable; stopped.
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_NUMBER_TRUNCATED = 0x8004Warning: too many attributes for a SSI command; truncated.
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_UNKNOWN = 0x8005Warning: unrecognized/unsupported SSI command attribute.
TCPIP_HTTP_NET_EVENT_SSI_ATTRIB_NUMBER_MISMATCH = 0x8006Warning: wrong number of SSI command attributes.
TCPIP_HTTP_NET_EVENT_SSI_VAR_NUMBER_EXCEEDED = 0x8007Warning: number of SSI set variables exceeded.
TCPIP_HTTP_NET_EVENT_SSI_VAR_UNKNOWN = 0x8008Warning: SSI variable does not exist.
TCPIP_HTTP_NET_EVENT_SSI_VAR_VOID = 0x8009Warning: SSI variable is void - not echoed.
TCPIP_HTTP_NET_EVENT_SSI_HASH_CREATE_FAILED = 0x800aWarning: 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 = 0x800bEvent: SSI variable deleted.
TCPIP_HTTP_NET_EVENT_CHUNK_POOL_EMPTY = 0x8020Warning: allocation from the HTTP chunk pool failed (the allocation will be retried).
TCPIP_HTTP_NET_EVENT_FILE_BUFFER_POOL_EMPTY = 0x8021Warning: allocation from the HTTP file buffers pool failed (the allocation will be retried).
TCPIP_HTTP_NET_EVENT_PEEK_BUFFER_SIZE_EXCEEDED = 0x8030Warning: 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.