RejectedSoftware Forums

Sign up

requestHTTP timeout

Is there a way to set timeouts on http.client.requestHTTP?

Re: requestHTTP timeout

On Thu, 14 Jan 2016 22:06:02 GMT, Byron Heads wrote:

Is there a way to set timeouts on http.client.requestHTTP?

Currently not, I've opened a ticket: #1375

Re: requestHTTP timeout

On Sun, 17 Jan 2016 10:27:03 GMT, Sönke Ludwig wrote:

On Thu, 14 Jan 2016 22:06:02 GMT, Byron Heads wrote:

Is there a way to set timeouts on http.client.requestHTTP?

Currently not, I've opened a ticket: #1375

Also is there an issue with calling requestHTTP in a thread? My code works great on windows but seems to be dead locking on linux (I swapped curl http for requestHTTP, the rest of the system is the same)

Re: requestHTTP timeout

On Mon, 18 Jan 2016 22:14:02 GMT, Byron Heads wrote:

On Sun, 17 Jan 2016 10:27:03 GMT, Sönke Ludwig wrote:

On Thu, 14 Jan 2016 22:06:02 GMT, Byron Heads wrote:

Is there a way to set timeouts on http.client.requestHTTP?

Currently not, I've opened a ticket: #1375

Also is there an issue with calling requestHTTP in a thread? My code works great on windows but seems to be dead locking on linux (I swapped curl http for requestHTTP, the rest of the system is the same)

It shouldn't generally be affected by using threads. I just found this in an ancient open tab and know that this is probably not relevant anymore, but in case it still is, do you have a call stack of where it hangs?