Re: draft-ietf-httpbis-rfc6265bis - preliminary questions for IETF dnsdir review

On Sat, 15 Feb 2025, Mark Nottingham wrote:

>> $ curl http://háčkyčárk.cz/
>> curl: (6) Could not resolve host: xn--hkyrk-xqac36ac.cz
>>
>> Not good at all. Judging by quick GDB excursion into guts of curl, it has 
>> converted URL into A-labels prematurely (before reaching dns module in the 
>> NSS).
>>
>> That is a nice example of a problem explained in RFC 6055 page 6, i.e. 
>> doing format conversions at a wrong layer.

Not the right place for this discussion, but this is more complicated problem 
than just "done at the wrong layer".

It's a question of APIs. And POSIX. And stuff.

(sorry, I fell over this only just now and couldn't resist)

-- 

  / daniel.haxx.se

Received on Monday, 24 February 2025 21:34:19 UTC