[Libwebsockets] something broke since my last git pull (some hours ago)

Edwin van den Oetelaar oetelaar.automatisering at gmail.com
Sat Feb 16 14:25:27 CET 2013


In serving the normal HTTP some callbacks do not get called :

LWS_CALLBACK_HTTP
LWS_CALLBACK_HTTP_FILE_COMPLETION

sometimes a fd comes into the callback via "user", sometimes via "in"


my log

reason=21 user=0 in=0 len=0 // LWS_CALLBACK_PROTOCOL_INIT
reason=13 user=12 in=0 len=0 // LWS_CALLBACK_FILTER_NETWORK_CONNECTION
=> fd is in user => I return 0 from this callback
reason=23 user=0 in=12 len=1 // LWS_CALLBACK_ADD_POLL_FD, => I add
fd=12 to my list
reason=13 user=13 in=0 len=0 // LWS_CALLBACK_FILTER_NETWORK_CONNECTION
=> I return 0 from this callback
reason=23 user=0 in=13 len=1 // LWS_CALLBACK_ADD_POLL_FD => I add
fd=13 to my list
reason=24 user=0 in=12 len=0 // LWS_CALLBACK_DEL_POLL_FD
reason=24 user=0 in=13 len=0 // LWS_CALLBACK_DEL_POLL_FD
reason=13 user=12 in=0 len=0
reason=23 user=0 in=12 len=1
reason=13 user=13 in=0 len=0
reason=23 user=0 in=13 len=1
reason=24 user=0 in=12 len=0
reason=24 user=0 in=13 len=0

I compiled everything cleanly

What is happening here?

Thanks for your time already,
Greetings Edwin

PS. the test-server and test-server-extpoll are also not giving back
any data for me!!!



More information about the Libwebsockets mailing list