Add step to `make test` procedure?

2013-10-09 Thread Jeffrey Walton
Would anyone know how to add a command to the `make test` procedure? The Makefile lacks a recipe with $(CC), so I don't see how things being compiled. The idea is to find a suitable recipe, and add a step to code sign the executable. (There's too many executables to do this by hand). Jeff --

Re: Add step to `make test` procedure?

2013-10-09 Thread Daniel Stenberg
On Wed, 9 Oct 2013, Jeffrey Walton wrote: Would anyone know how to add a command to the `make test` procedure? The Makefile lacks a recipe with $(CC), so I don't see how things being compiled. You're supposed to first build curl and libcurl in the root tree, then cd tests and make should wo

Re: Add step to `make test` procedure?

2013-10-09 Thread Jeffrey Walton
On Wed, Oct 9, 2013 at 5:01 AM, Daniel Stenberg wrote: > On Wed, 9 Oct 2013, Jeffrey Walton wrote: > >> Would anyone know how to add a command to the `make test` procedure? >> >> The Makefile lacks a recipe with $(CC), so I don't see how things being >> compiled. > > You're supposed to first build

errno on lwIP

2013-10-09 Thread Gisle Vanem
lib/curl_setup_once.h assumes lwIP on Windows uses 'SetLastError()' to set network errors. It doesn't; it uses 'errno'. Hence this little patch: --- g:/MingW32/src/inet/curl/Git-latest/lib/curl_setup_once.h 2013-02-23 19:58:58 + +++ g:/MingW32/src/inet/curl/lib/curl_setup_once.h 2013-

Re: errno on lwIP

2013-10-09 Thread Daniel Stenberg
On Wed, 9 Oct 2013, Gisle Vanem wrote: lib/curl_setup_once.h assumes lwIP on Windows uses 'SetLastError()' to set network errors. It doesn't; it uses 'errno'. Hence this little patch: Thanks, pushed! -- / daniel.haxx.se --- Lis

Re: pycurl update for multi interface

2013-10-09 Thread Dima Tisnek
I'm sure someone will find use for penalty values. I don't think it's easy to use them right: only get requests are pipelined, server "decides" on download and especially chunk length, then the client is probably interested in how long the transfer is going to take rather than bytes transferred, s

Re: pycurl update for multi interface

2013-10-09 Thread Daniel Stenberg
On Wed, 9 Oct 2013, Dima Tisnek wrote: Can I just remind you that we don't top-post on this list! I'm sure someone will find use for penalty values. I don't think it's easy to use them right: only get requests are pipelined, server "decides" on download and especially chunk length, then the c

IP address connection fail-over is broken for non-blocking sockets

2013-10-09 Thread David Strauss
In Curl_connecthost(), there's a loop to call singleipconnect() for each address. This loop breaks when it gets a non-bad file descriptor. But, 99% of libcurl invocations use non-blocking sockets, especially in the current era of even the "easy" interface using the "multi" back-end. This effective