HTTP Server does not send response until netconn is close/delete
Posted: Wed Mar 21, 2018 7:31 am
Hello,
I am facing some issues with IDFv2.1 with HTTP Restful server. Following snippet describe my issue,
Following is not giving response to client,
Thanks
I am facing some issues with IDFv2.1 with HTTP Restful server. Following snippet describe my issue,
- create netconn
bind and listen on socket
accept the connection when available
receive data with netconn_recv and netbuf_data
response to client with netconn_write
close and delete netconn.
Following is not giving response to client,
- create netconn
bind and listen on socket
accept the connection when available
receive data with netconn_recv and netbuf_data
response to client with netconn_write
Thanks