Commit graph

  • f5a04dd9d4 Better urlencode compatibility master ssl fgenesis 2015-10-02 19:35:22 +02:00
  • 9227cc114a Fix HTTP->HTTPS redirect, local redirect, and some other issues. Accept untrusted certs for now. fgenesis 2015-10-02 17:44:54 +02:00
  • 8dd0c35416 Fix super broken error handling fgenesis 2015-10-02 16:03:28 +02:00
  • 3630b020a3 Better use 200-205 as success, not only 200 fgenesis 2015-10-02 03:01:47 +02:00
  • 67e50eb760 First implementation of POST fgenesis 2015-10-02 03:01:25 +02:00
  • e7e8ee5e65 forgot one fgenesis 2015-10-02 01:38:23 +02:00
  • 997a9e4ae0 add URLEncode() fgenesis 2015-10-02 01:36:26 +02:00
  • 2d32a41975 Compile fix for newer polarssl/mbedtls headers fgenesis 2015-10-02 01:02:43 +02:00
  • fbff82e607 Linux fix attempt #1 (it used to work, wtf!) fgenesis 2015-10-02 00:45:23 +02:00
  • 5d43abaf39 Forgot something fgenesis 2015-10-02 00:14:33 +02:00
  • 895d1cf633 less debug spam fgenesis 2015-10-01 22:12:05 +02:00
  • cf2e45aa84 fuck POSIX; errno shall die in a fire fgenesis 2015-10-01 22:11:10 +02:00
  • f3d366320f Apparently we should use errno on *nix... fgenesis 2015-10-01 22:01:09 +02:00
  • 238a7f3208 Make HTTP->HTTPS redirection more robust fgenesis 2015-10-01 21:16:52 +02:00
  • 0060208acb Merge branch 'master' into ssl. Also attempt to sanitize send failure. fgenesis 2015-10-01 19:59:26 +02:00
  • 19923844a0 Fix build on FreeBSD (thx Jan Beich), avoid sending SIGPIPE in *nix. fgenesis 2015-10-01 13:49:53 +02:00
  • 68e6e1ecd2 Allow supplying custom headers in HTTP request fgenesis 2015-04-29 20:49:17 +02:00
  • 587deb0e0e experimental (unsafe) SSL support using polarssl/mbedtls. also cmake cleanup. fgenesis 2015-04-24 00:47:22 +02:00
  • f71e1cc396 Fix possible crash in HTTP header parsing code fgenesis 2014-11-20 03:22:03 +01:00
  • acc6d97bf3 Remove unnecessary #undef fgenesis 2014-03-27 02:30:42 +01:00
  • 677000b533 Merge pull request #2 from meh2481/master fgenesis 2014-03-27 02:25:32 +01:00
  • e95496cc62 Fix include order for MinGW Windows Mark Hutcheson 2014-03-26 21:12:06 -04:00
  • 6fc6bbd1fb Do not call _OnRequestDone() and _OnClose() if following a redirect and autofollow is on. This makes the redirect fully transparent and invisible for the outside. fgenesis 2012-06-01 18:49:40 +02:00
  • d8bcc2f830 oops, typo that prevented non-win32 compile fgenesis 2012-05-24 05:14:06 +02:00
  • 7c56a6606c Finish incomplete requests if the socket gets closed unexpectedly fgenesis 2012-05-23 20:51:24 +02:00
  • 31e904abbb More fixes, added sample code. fgenesis 2012-03-31 02:40:30 +02:00
  • c9cd4ad790 API refinement, cleanups, bugfixes. fgenesis 2012-03-31 00:33:11 +02:00
  • 56b5e2d85c cleaned code, initial status code handling. Following 3xx redirect works. fgenesis 2012-03-30 06:18:54 +02:00
  • 472886b39e WTFPL + a bit of reformatting fgenesis 2012-03-30 04:04:50 +02:00
  • ab49748af7 Initial commit. Basic HTTP working, but status codes are not handled yet. fgenesis 2012-03-30 03:27:54 +02:00