Jason

Results 22 comments of Jason

Oops, there is a bug if arguments are like "- http://ur.com", I will try to fix it tomorrow.

You're right, the cookies cannot be modified during download. Later I will make a modification to add cookie header string instead of a `cookie_t` list to `conf`. By the way,...

This version of patch loads cookie file and write the cookie header string to `conf->add_header` in `text.c`. This may lead to 2 problems: - Dumplicated headers if user add another...

Ok, I have left a FIXME comment. The problem about length of `conf->add_header` is related to #223, and should be fixed in other commits.

> Is this patch compatible with curl's `-b` and `-c` [cookie jar format](https://curl.se/docs/http-cookies.html)? Having compatability there would be great, as many tools already support the curl format. Yes, it is....

@ismaell, please take a look at the code I changed in `tcp.c`, `http.c`, etc. I'm not sure if these changes are acceptable. Also I have doubts whether if-condition `#ifdef HAVE_SSL`...

> * Can `WSAEWOULDBLOCK` be translated to `EINPROGRESS`? is it really functionally equivalent in the test in `tcp_connect`? According to [windows doc](https://docs.microsoft.com/en-us/cpp/mfc/windows-sockets-blocking?view=vs-2019), I think they are functionally equivalent. But I'm...

> Does the following work? > > ```shell > sh configure --with-ssl=/path/to/openssl --host=x86_64-w64-mingw32 > ```is > > That would be better than specifying `SSL_LIBS` and `SSL_CFLAGS`. I have read the...

I was considering the condition that you want to build from the master branch instead of the release tarballs, in which case you might have difficulties configuring OpenSSL. But it...