Network Services API  2.75.00.17
Data Fields
HTTPServer_Params Struct Reference

HTTPServer instance create parameters. More...

#include <ti/net/http/httpserver.h>

Collaboration diagram for HTTPServer_Params:
Collaboration graph

Data Fields

int timeout
 Receive timeout, in seconds. More...
 
int maxLineLen
 Maximum characters in a request header line. More...
 
int maxURILen
 Maximum characters in a URI request. More...
 
int maxSessions
 Maximum number of active sessions. More...
 

Detailed Description

HTTPServer instance create parameters.

Field Documentation

§ timeout

int HTTPServer_Params::timeout

Receive timeout, in seconds.

§ maxLineLen

int HTTPServer_Params::maxLineLen

Maximum characters in a request header line.

Remarks
If a client request includes a header with more characters than this, the server will send an error response of HTTP_TOO_BIG.

§ maxURILen

int HTTPServer_Params::maxURILen

Maximum characters in a URI request.

Remarks
If a client requests a URI with more characters than this, the server will send an error response of HTTP_TOO_BIG.

§ maxSessions

int HTTPServer_Params::maxSessions

Maximum number of active sessions.

Remarks
If a new client arrives and there are currently maxSessions clients connected, the oldest connection will be dropped to make room for the new one.

The documentation for this struct was generated from the following file:
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale