• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no callback on some http requests
#21
I didn't even find the time to send you the headers you asked for and you already fixed it! Smile  I guess I shouldn't try to fix issues with these rather complex core modules myself anymore.

Updated and tested. The fix is working. Thanks again.

One thing that became even more clear now is that the timeout of 3 seconds is too strict. Before I thought it mainly happened with some slow (embedded) webservers, but now these premature 408 responses have been fixed,  I see that also weather underground isn't always resopnding within 3 seconds.  With a busy network (eg. several downloads ore streaming going on) this happens even more.

I realize that at this time not many people will be using http, so possibly I am the only one now experiencing this issue, so I will continue using a modified http.c.

Nevertheless, I still think that giving the user the possibility to set the timeout value within given limits would be a good idea.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  ][solved]Segfault when retrieving big chunked http message Niek 21 5,847 11-29-2018, 03:17 PM
Last Post: curlymo
  http code 301 causes segfault Niek 3 3,338 08-14-2018, 06:57 PM
Last Post: curlymo
  http library doesn't properly handle big response Niek 39 6,789 07-17-2018, 07:26 PM
Last Post: curlymo
  [Solved] callback not executing when dns lookup fails Niek 1 640 10-08-2017, 11:44 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)