mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-12 21:41:28 +00:00
Fix bug #51230 (Fix comment line) - change tcp_pcb to altcp_pcb
This commit is contained in:
parent
a92e838687
commit
ef5e44b2d3
@ -271,7 +271,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define this to a function that returns the maximum amount of data to enqueue.
|
/* Define this to a function that returns the maximum amount of data to enqueue.
|
||||||
The function have this signature: u16_t fn(struct tcp_pcb* pcb); */
|
The function have this signature: u16_t fn(struct altcp_pcb* pcb);
|
||||||
|
The best place to define this is the hooks file (@see LWIP_HOOK_FILENAME) */
|
||||||
#if !defined HTTPD_MAX_WRITE_LEN || defined __DOXYGEN__
|
#if !defined HTTPD_MAX_WRITE_LEN || defined __DOXYGEN__
|
||||||
#if HTTPD_LIMIT_SENDING_TO_2MSS
|
#if HTTPD_LIMIT_SENDING_TO_2MSS
|
||||||
#define HTTPD_MAX_WRITE_LEN(pcb) (2 * altcp_mss(pcb))
|
#define HTTPD_MAX_WRITE_LEN(pcb) (2 * altcp_mss(pcb))
|
||||||
|
Loading…
Reference in New Issue
Block a user