Fixed #144: lasting resolving is not an error.
This commit is contained in:
parent
b133ce8cfb
commit
4a0b88a6cc
@ -435,7 +435,9 @@ void posixSocket::resolve(struct ::addrinfo** addrInfo, const vmime::string& add
|
|||||||
{
|
{
|
||||||
if (gaiError == EAI_SYSTEM)
|
if (gaiError == EAI_SYSTEM)
|
||||||
{
|
{
|
||||||
if (errno != 0)
|
const int ret = gai_error(&gaiRequest);
|
||||||
|
|
||||||
|
if (ret != EAI_INPROGRESS && errno != 0)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user