We see that HTTPClientSession sendRequest call hanging under a specific network condition.
This is occurring when DNS is failing to resolve, and there appears to be intermittent network connectivity, the call doesn't seem to return.
Is there any ideas on what could be causing this?
We are using Poco 1.4.3p1.
- Code: Select all
Poco::URI uri(url.str());
Poco::Net::HTTPSClientSession session(uri.getHost(), uri.getPort());
session.setTimeout(Poco::Timespan(0, 0, 0, 60, 0));
Poco::Net::HTTPRequest emailreq
(Poco::Net::HTTPRequest::HTTP_POST,
path,
Poco::Net::HTTPMessage::HTTP_1_1);
htmlform.prepareSubmit(emailreq);
std::ostream& oustr = session.sendRequest(emailreq);
htmlform.write(oustr);





