cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1346 resolver error

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 17 Mar 2014 15:44:31 +0000

- **labels**: --> dns
- **assigned_to**: Daniel Stenberg
- **Comment**:

On which platform? I assume you've build libcurl to use the c-ares backend?

---
** [bugs:#1346] resolver error**
**Status:** open
**Labels:** dns 
**Created:** Mon Mar 17, 2014 03:40 PM UTC by Christian Hesse
**Last Updated:** Mon Mar 17, 2014 03:40 PM UTC
**Owner:** Daniel Stenberg
libcurl has a resolver bug that requires some conditions to trigger:
* libcurl tries to resolv A and AAAA records
* DNS response is too long to fit into a UDP packet
What happens:
* libcurl sends two DNS UDP requests, one for A record, one for AAAA record
* libcurl receives one truncated UDP response
* libcurl sends TCP request
* libcurl receives TCP response
* libcurl sends TCP reset, ignoring the response
Everything works just fine when querying only A record (give option -4).
A capture demonstrating the problem is attached.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-03-17

These mail archives are generated by hypermail.

donate! Page updated December 29, 2013.
web site info

File upload with ASP.NET