bug:post-url gets timeout when running long time

Started by csfreebird, August 10, 2016, 05:11:47 AM

Previous topic - Next topic

csfreebird

recently, I observed my newlisp app reports timeout error when post message to rest server. We have a few different rest servers. The status of servers are fine when getting timeout error in newlisp. If I stop the newlisp process and restart it, all get back to work fine.



My friend who is using newlisp in her projects told me she ran into same trouble before, she used curl command to bypass this.



So I thinks it is a bug in newlisp post-url function.

To reproduce this, I suggest setting up a rest server and let newlisp code keep posting over one or more days.



For now, I have to call (exit) to quit the process when timeout occurs and re-launch it using jenkins or other monitor script.