Hang/Crash with HTTPClientSession sendRequest

Please post support and help requests here.
Posts: 1
Joined: 05 Aug 2012, 23:44

Hang/Crash with HTTPClientSession sendRequest

Postby madhankk » 06 Aug 2012, 00:08

Similar to the behaviour in viewtopic.php?f=12&t=5093&p=8159&hilit=HTTPClientSession#p8159
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
        std::ostream& oustr = session.sendRequest(emailreq);

Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Hang/Crash with HTTPClientSession sendRequest

Postby alex » 18 Aug 2012, 17:20

Fixed for releases 1.4 and 1.5

Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests