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

From
Johannes Schindelin <hidden>
Date
2017-08-23 22:36:08
Reply to
Johannes Sixt, 2017-08-22
Hi Hannes,

On Tue, 22 Aug 2017, Johannes Sixt wrote:
Am 21.08.2017 um 09:27 schrieb Nicolas Morey-Chaisemartin:
quoted
(Sent a reply from my phone while out of town but couldn't find it so here
it is again)

It's available on my github:
https://github.com/nmorey/git/tree/dev/curl-tunnel

The series had been stlighly changed since the patch were posted, mostly to
add the proper ifdefs to handle older curl versions.
This does not build for me on Windows due to a missing socketpair() function.
But I am working in an old environment, so I do not know whether this
statement has much value.
Same problem in Git for Windows' SDK:

imap-send.c: In function 'setup_tunnel':
imap-send.c:936:6: error: implicit declaration of function 'socketpair'; did you
 mean 'socket'? [-Werror=implicit-function-declaration]
  if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock_fds))
      ^~~~~~~~~~
      socket
imap-send.c: In function 'curl_tunnel_socket':
imap-send.c:1416:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  return (unsigned long)clientp;
         ^
Thread (21 messages) 21 messages, 7 authors, last reply 2017-08-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help