Re: [RFC 0/3] imap-send curl tunnelling support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Aug 2017, Jeff King wrote:

Oh good. While I have you here, have you given any thought to a curl handle that has two half-duplex file descriptors, rather than a single full-duplex socket? That would let us tunnel over pipes rather than worrying about the portability of socketpair().

I suspect it would be quite complicated, because I imagine that lots of internal bits of curl assume there's a single descriptor.

Yeah, it would take quite some surgery deep down in the heart of curl to implement something like that. It wouldn't call it impossible but it would take a certain level of determination and amount of time. I presume the descriptor-pair would be passed in via an API so it wouldn't affect the connect phase. We also have decent test coverage, making an overhaul like this a less scary thought - as if the existing tests say OK we can be fairly certain there aren't any major regressions...

(I may also have forgotten some tiny detail for the moment that makes it very hard.)

 / daniel.haxx.se (who landed the IMAP PREAUTH fix in curl)

Don't you land most of the fixes in curl? :)

I do, but I don't expect readers of the git list to know that!

--

 / daniel.haxx.se



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux