Anonymous
Not applicable
Apr 14, 2016
07:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 14, 2016
07:01 AM
Hi,
I'm writing an HTTP client application, i create my client with http_client_init() and I have an event_handler function.
The event_handler function gets called many times, but there are more than 100 HTTP_DATA_RECEIVED events
before a single HTTP_CONNECTED.
I'was reading the http_client_init() code and it seems that such handler gets called from the callbacks to wiced_tcp_register_callbacks(),
I've put a printf in such callbacks but still socket_connect_callback() gets called after some socket_receive_callback()
Is it a known issue? I have it with both NetX and LwIP
Regards,
Matteo Croce
3 Replies