Page 1 of 1

SoapClient connection returns after timeout

PostPosted: 11. June 2018 22:13
by JasonThePirate
I thought I had problems with my SoapClient connection working because it was taking awhile to return. I found that it was exactly one minute before it returned. If I add
Code: Select all
ini_set("default_socket_timeout", 2);
it returns in 2 seconds. Seems like the connection isn't successfully returning on it's own, it's only after the timeout is reached that it returns. Any ideas what this is about?