httpd: convert to altcp API (a simple search & replace...)

This commit is contained in:
goldsimon
2017-03-22 22:33:50 +01:00
parent 967d4fc3b0
commit 2f3b00efb4
2 changed files with 53 additions and 52 deletions

View File

@@ -264,7 +264,7 @@
The function have this signature: u16_t fn(struct tcp_pcb* pcb); */
#if !defined HTTPD_MAX_WRITE_LEN || defined __DOXYGEN__
#if HTTPD_LIMIT_SENDING_TO_2MSS
#define HTTPD_MAX_WRITE_LEN(pcb) (2 * tcp_mss(pcb))
#define HTTPD_MAX_WRITE_LEN(pcb) (2 * altcp_mss(pcb))
#endif
#endif