Lines Matching defs:length
74 * 3. The maximum tag name length is LWIP_HTTPD_MAX_TAG_NAME_LEN, currently 8 characters.
117 /** Minimum length for a valid HTTP/0.9 request: "GET /\r\n" -> 7 bytes */
191 #define HDR_STRINGS_IDX_CONTENT_LEN_NR 3 /* the byte count, when content-length is used */
523 /** Call tcp_write() in a loop trying smaller and smaller length
527 * @param length Length of data to send (in/out: on return, contains the
533 http_write(struct altcp_pcb *pcb, const void *ptr, u16_t *length, u8_t apiflags)
537 LWIP_ASSERT("length != NULL", length != NULL);
538 len = *length;
572 *length = len;
575 *length = 0;
751 * should be written to hs->tag_insert (up to a length of LWIP_HTTPD_MAX_TAG_INSERT_LEN).
946 /* Add content-length header? */
956 if (hs->ssi == NULL) /* @todo: get maximum file length from SSI */
1006 /* set up "content-length" and "connection:" headers */
1030 /* content-length is always volatile */
1119 /* Yes - get the length of the buffer */
1348 /* We read a zero length tag so ignore it. */
1827 /* adjust length of HTTP header passed to application */
2372 LWIP_ASSERT("File length must be positive!", (file->len >= 0));