Commit Graph

716 Commits

Author SHA1 Message Date
Mike Blumenkrantz 3ed65e0992 unify and improve gnutls debug output
SVN revision: 66019
2011-12-08 05:58:47 +00:00
Mike Blumenkrantz 06d5a4c5c4 align debug info
SVN revision: 66017
2011-12-08 05:02:49 +00:00
Mike Blumenkrantz 29f67c9bc5 more informative error messages when cert verification fails
SVN revision: 66012
2011-12-08 03:56:29 +00:00
Mike Blumenkrantz 936f6aa7fa fix type so openssl verification works again
SVN revision: 66011
2011-12-08 03:53:49 +00:00
Mike Blumenkrantz dcc86ed639 ca loading function now loads directories
SVN revision: 66009
2011-12-08 03:25:53 +00:00
Mike Blumenkrantz 97a83712b0 unify openssl debug printing and remove #ifdefs: now this will always print with ecore-con:4
SVN revision: 66008
2011-12-08 02:59:27 +00:00
Mike Blumenkrantz 1416e28363 fix compat on openssl errors
SVN revision: 66007
2011-12-08 02:53:43 +00:00
Mike Blumenkrantz 5410f75bdc beef up openssl debug output
SVN revision: 66006
2011-12-08 02:37:00 +00:00
Mike Blumenkrantz 653a01d287 better error messages on certificate verify failure
SVN revision: 66005
2011-12-08 02:11:22 +00:00
Mike Blumenkrantz 7cc2aa0582 whoops, fix compile on unrelated change that snuck in
changelog tbd


SVN revision: 66004
2011-12-08 01:30:53 +00:00
Mike Blumenkrantz e47742e142 damn you ctrl+d!
SVN revision: 66003
2011-12-08 01:23:10 +00:00
Mike Blumenkrantz b40fa86b4a +ecore_con_ssl_server_verify_name_set/get
SVN revision: 66002
2011-12-08 01:14:55 +00:00
Mike Blumenkrantz f0e4cb8e79 allow certificates to be loaded for STARTTLS
SVN revision: 66000
2011-12-07 23:36:15 +00:00
Mike Blumenkrantz bb3f0ffa4b one of these days I'm going to snap and throw my computer off my balcony because of this
SVN revision: 65944
2011-12-06 05:52:45 +00:00
Mike Blumenkrantz e7a491b1be @since
SVN revision: 65943
2011-12-06 05:37:29 +00:00
Mike Blumenkrantz 77f039eb73 @since
SVN revision: 65939
2011-12-06 05:20:13 +00:00
Mike Blumenkrantz adc327c8f8 last ssl bugger
SVN revision: 65938
2011-12-06 05:14:03 +00:00
Mike Blumenkrantz 88a69e2a8f fix some ssl socks buggies
SVN revision: 65937
2011-12-06 04:48:55 +00:00
Mike Blumenkrantz 8a8242016e ...make that twice
SVN revision: 65936
2011-12-06 03:51:01 +00:00
Mike Blumenkrantz db16af76ee just kidding before, had to break svn at least once today
SVN revision: 65935
2011-12-06 03:41:16 +00:00
Mike Blumenkrantz 0099b08234 introducinggggggggggggggg <drum roll>:
ECORE-CON-SOCKS! SOCKS ON!!!!

now ecore_con supports socks (v4 and v4a only, so no ipv6) connections natively for making remote connections
for those of you who want their apps to start proxying immediately, just update and export this handy environment variable:
ECORE_CON_SOCKS_V4=[user@]PROXY_IP_ADDRESS:PROXY_PORT[:1] <--use :1 here to enable dns lookups on the proxy


SVN revision: 65934
2011-12-06 03:32:16 +00:00
Mike Blumenkrantz 39467c29b6 giant patch refactoring ecore-con-url from bluezery <opowel@gmail.com>
will it blend?!


SVN revision: 65888
2011-12-05 06:08:46 +00:00
Mike Blumenkrantz 9cc624c718 add some INF messages for connection death
SVN revision: 65835
2011-12-03 03:50:20 +00:00
Mike Blumenkrantz d9587433b5 remove some unused functions pointed out by Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65798
2011-12-02 03:27:04 +00:00
Carsten Haitzler d3e45fc7a7 fix ecore-con tracking of event count lists for clients!!! thanks
valgrind!



SVN revision: 65647
2011-11-28 12:06:50 +00:00
Mike Blumenkrantz fd657b8fc4 also move magic unset to after all events come back so we don't break anyone's event handlers
SVN revision: 65426
2011-11-20 07:11:05 +00:00
Mike Blumenkrantz b2a76dbe65 attempt #1 to fix obscure disconnect crash
SVN revision: 65416
2011-11-20 00:28:48 +00:00
Mike Blumenkrantz be730ca826 rewrite a few small things to make code more clear
SVN revision: 65360
2011-11-18 03:59:00 +00:00
Vincent Torri bc17a43384 Ecore: fix warning: 'struct in_addr' declared inside parameter list on OpenBSD
Patch by Fabien Romano from OpenBSD


SVN revision: 65210
2011-11-14 22:25:07 +00:00
Mike Blumenkrantz 6ec1250a4d redo ecore-con shutdown to fix crashes if people are stupid and call ecore_con_shutdown() while servers exist and main loop is still running
SVN revision: 65036
2011-11-11 02:44:16 +00:00
Iván Briano 2f4c5de9ed Properly check for empty string
SVN revision: 65034
2011-11-10 23:21:15 +00:00
Bluezery 216ea5012c From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [ecore_con] Bug fix when data is NULL.

If data is NULL, curl makes length field as -1 .
length filed should be set by 0.



SVN revision: 65006
2011-11-10 06:35:53 +00:00
Mike Blumenkrantz 491fe6b0d6 remove some unused vars
SVN revision: 64964
2011-11-09 01:19:14 +00:00
Mike Blumenkrantz 47b58f75da fix null deref
SVN revision: 64963
2011-11-09 01:18:18 +00:00
Cedric BAIL 05d8a9cf3c ecore: improve ecore_con speed by using mempool.
SVN revision: 64814
2011-11-06 12:26:00 +00:00
Youness Alaoui 1dfc25fedf Ecore: Port ecore to the PS3
SVN revision: 64781
2011-11-05 17:49:49 +00:00
Mike Blumenkrantz a7fac0f526 add yet another warning here in case people miss the first few subtle hints
SVN revision: 64734
2011-11-04 14:44:30 +00:00
Kim Yunhan 262bf8d463 From: Kim Yunhan <spbear@gmail.com>
Subject: [E-devel] Small patch with ecore_con_url.

When I tested with elementary map, there is too many logs on console.
It makes me difficult to distinguish normal logs that I want to debug.
:'-(
It's libcurl's internal log for representing progress bar like this.

-----
downloaded : 343 / 363
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
   Current
                                    Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 362
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 361
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 344 / 365
  downloaded : 345 / 365
  downloaded : 346 / 365
  downloaded : 347 / 365
  -----
  
  So, I want to remove this log.
  And I look around ecore_con_url's code.
  Then I found solution for it.
  


SVN revision: 64596
2011-11-01 02:25:14 +00:00
Mike Blumenkrantz e957cb9c40 patch from Martin Jansa <Martin.Jansa@gmail.com> to fix uclibc build.
this is yet another round of spankies for kakoroto


SVN revision: 64505
2011-10-29 07:03:20 +00:00
Youness Alaoui 84e9551521 Ecore: IN6_IS_ADDR_V4MAPPED needs an in6_addr as input on OSX
SVN revision: 64090
2011-10-15 09:30:58 +00:00
Sebastian Dransfeld 33c929baa8 ecore/ecore_con: Remove the other while multi
SVN revision: 63962
2011-10-10 17:51:34 +00:00
Carsten Haitzler 11917747d0 try and fix post with null data?
SVN revision: 63956
2011-10-10 09:37:30 +00:00
Carsten Haitzler e5756206b7 this should fix curl support from hacning for up to 0.7* 1/fps sec on
1 or more calls and even in idlers etc. only do it once then rely on
fd's to wake up and do it again.



SVN revision: 63955
2011-10-10 09:36:56 +00:00
Youness Alaoui da2fb1b6f5 Ecore-con: Oups, fix ipv6 support in cares support after previous commit misstep
SVN revision: 63755
2011-10-02 23:41:42 +00:00
Youness Alaoui 0618b78f1e Ecore-con: Allow to disable local sockets support, and disable them on ps3
SVN revision: 63683
2011-09-29 21:05:32 +00:00
Youness Alaoui 84796ed59b Ecore-con: Use inet_ntop instead of getnameinfo.
getnameinfo is a blocking call would would resolve a sockaddr into
its hostname, not into an IP address, so the ip_get should use the
inet_ntop call instead.

SVN revision: 63682
2011-09-29 21:05:20 +00:00
Youness Alaoui 1fc4a13f80 Ecore-con: Test for IPV6 availability
SVN revision: 63680
2011-09-29 21:04:54 +00:00
Youness Alaoui ed03a201ef ecore-con: Do not use TCP_NODELAY if netinet/tcp.h is not found
SVN revision: 63679
2011-09-29 21:04:45 +00:00
Daniel Juyung Seo c8a62c0cb2 ecore ecore_con_url.c: Applied ui interactoin bug fix patch from Kim
Yunhan <spbear@gmail.com>

On Wed, Sep 21, 2011 at 10:51 PM, Kim Yunhan <spbear@gmail.com> wrote:
> Hello!
>
> elm_map uses Ecore Con with CURL.
> I tested elm_map many times on my device.
> But sometimes UI interaction is held when data connection is poor.
> So I tried to debug and I found that this code lead to hold an Ecore
main
> loop.
>
> ----------------------------------------------
> In ecore_con_url.c
>
> while (curl_multi_perform(_curlm, &still_running) ==
> CURLM_CALL_MULTI_PERFORM) ;
> ----------------------------------------------
>
> curl_multi_perform() is CURL's asynchronous API.
> But above code hold an Ecore main loop.
> When it takes long time in libcurl, UI interaction is delayed.
>
> For example, If you have poor data connection.
> libcurl is trying to resolve DNS in this step.
> But it have to wait until timeout.
> At that time it looks like being locked.
>
> So I write a patch for fixing it.


SVN revision: 63636
2011-09-28 05:30:57 +00:00
Mike Blumenkrantz b9159044ed more @since 1.1
SVN revision: 63365
2011-09-13 23:04:18 +00:00
Mike Blumenkrantz 20eed93ea3 add ECORE_CON_EVENT_SERVER_WRITE ECORE_CON_EVENT_CLIENT_WRITE
SVN revision: 63364
2011-09-13 23:03:26 +00:00
Mike Blumenkrantz 31908c69f9 add @since 1.1 for some events
SVN revision: 63363
2011-09-13 22:46:46 +00:00
Mike Blumenkrantz e982875277 more useless ecore-con functions: ecore_con_server_fd_get and ecore_con_client_fd_get
SVN revision: 63344
2011-09-12 08:30:22 +00:00
Sebastian Dransfeld 8fc827f7c0 ecore: Fix unused warnings
SVN revision: 62561
2011-08-18 10:59:12 +00:00
Cedric BAIL 1dc2512897 efl: remove mman as we Eina_File now.
Patch from Vincent Torri.


SVN revision: 62244
2011-08-09 09:19:25 +00:00
Sanjeev Ba 6cde0c4431 From: Sanjeev Ba <as2902.b@samsung.com>
Subject: Using Eina_BinBuf in Ecore_Con_Url

From Sanjeev - an improvement and addition to the Ecore_Con
documentation giving a handy tip on using Eina_Bin/StrBuf.



SVN revision: 62195
2011-08-08 09:40:36 +00:00
Mike Blumenkrantz 48bb4c6252 url of ecore-con-url is now stringshared
SVN revision: 61607
2011-07-23 03:17:57 +00:00
Mike Blumenkrantz a10530a6f4 +ecore_con_url_url_get
SVN revision: 61606
2011-07-23 03:14:42 +00:00
Rafael Antognolli 8c58c7e668 ecore/doc - Add some @htmlonly guards.
SVN revision: 61485
2011-07-18 18:26:35 +00:00
Vincent Torri 22eb580e59 ecore_con : fix compilation on Windows
SVN revision: 61439
2011-07-17 11:11:25 +00:00
Mike Blumenkrantz 9d235b3fc7 switch over all buffers to use binbufs
SVN revision: 61423
2011-07-16 13:07:39 +00:00
Rafael Antognolli 25e3fb0162 ecore/ecore_con - Add some sequence diagrams.
SVN revision: 61351
2011-07-13 19:04:27 +00:00
Rafael Antognolli afaf1b535b ecore/ecore_con - Move more documentation to Ecore_Con.h.
Cookie related function documentation is moved, and some additional
comments were added to ecore_con_url_cookies_file_add and
ecore_con_url_cookies_jar_file_set.



SVN revision: 61349
2011-07-13 19:04:10 +00:00
Rafael Antognolli c66ec1de38 ecore/ecore_con - Brief description for the client and server groups.
Also improve the documentation of some functions.



SVN revision: 61298
2011-07-12 14:37:32 +00:00
Rafael Antognolli 4ef10c3b53 ecore/ecore_con - Update documentation of server/client timeout_set().
SVN revision: 61296
2011-07-12 14:37:14 +00:00
Rafael Antognolli 050b0c7c73 ecore/ecore_con - Constify return of ecore_con_server_clients_get().
We can't change the returned list, since it's not a copy but the
internal list itself.



SVN revision: 61295
2011-07-12 14:37:08 +00:00
Rafael Antognolli 03d383c201 ecore/ecore_con - Move more function documentation to Ecore_Con.h
Some small fixes were also made to these docs.



SVN revision: 61294
2011-07-12 14:36:58 +00:00
Rafael Antognolli 0a61ad17b6 ecore/ecore_con - add more reference doc to some functions.
Also add description to the examples.



SVN revision: 61161
2011-07-08 18:06:19 +00:00
Rafael Antognolli 3f02227826 ecore/ecore_con - Move documentation from .c to .h.
This only affects ecore_con_url_* for now.
Also add docs to the structures used by ecore_con_url, and move them to
the Ecore_Con_Url_Group.



SVN revision: 61159
2011-07-08 18:06:04 +00:00
Rafael Antognolli 5b21cc4aea ecore/ecore_con - If argument is EINA_FALSE, set the value to 0!
SVN revision: 61128
2011-07-07 18:34:20 +00:00
Rafael Antognolli 226b09c172 ecore/ecore_con - Set timer pointers to NULL when exiting them.
Otherwise this will lead to errors when some code does:
if (cl->until_deletion)
    ecore_timer_del(cl->until_deletion);



SVN revision: 61127
2011-07-07 18:18:53 +00:00
Rafael Antognolli 4bd6379356 ecore/ecore_con - improved documentation and added example.
Just ecore_con_init, shutdown and lookup documented for now.



SVN revision: 61050
2011-07-05 13:09:57 +00:00
Sanjeev BA d5208c6ed9 ecore: Minor changes to documentation of ecore_con_url_fd_set
Signed-off-By: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 61043
2011-07-05 11:13:47 +00:00
Mike Blumenkrantz 58d3ee0924 unify more event handling, fix a little formatting
SVN revision: 61025
2011-07-05 00:06:27 +00:00
Rafael Antognolli 60aa52189d ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
SVN revision: 61021
2011-07-04 20:04:18 +00:00
Mike Blumenkrantz 3bde9147fb apparently SSL_set_verify with SSL_VERIFY_PEER is NOT sufficient for validating a certificate as its man page implies. good thing the correct way is properly docu...right. openssl. riiiiiiiiiggghhht.
+ecore_con_ssl_server_verify_basic for checking a cert against its hostname



SVN revision: 60673
2011-06-25 08:39:07 +00:00
Mike Blumenkrantz d932f0b0c5 ecore_con_server_timeout_g/set now apply to client-type servers
CAN'T SLEEP
MUST HACK


SVN revision: 60445
2011-06-17 11:16:50 +00:00
Mike Blumenkrantz bf2fb87d4d @since 1.1
SVN revision: 60366
2011-06-15 21:57:47 +00:00
Mike Blumenkrantz 64731e1dc9 +ecore_con_ssl_server_upgrade
+ecore_con_ssl_client_upgrade
+ECORE_CON_EVENT_SERVER_UPGRADE
+ECORE_CON_EVENT_CLIENT_UPGRADE
new functions for upgrading an existing plaintext connection to SSL/TLS, as seen in STARTTLS and my nightmares


SVN revision: 60359
2011-06-15 18:58:34 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Vincent Torri 3e9bc8fddd Ecore: ecore_con : make ecore_con work on Windows
The ecore_con module needed a port of the local connections
with named pipes. The other connections (TCP, UDP) are using
BSD sockets, which are also used on Windows.

No abstract sockets on Windows.

NB: Should I backport that commit to 1.0 ?

SVN revision: 59385
2011-05-14 17:52:30 +00:00
Cedric BAIL a3957ae5df ecore: fix ifdef order.
SVN revision: 59381
2011-05-14 12:53:00 +00:00
Cedric BAIL 541bc1158b ecore: sync GNUTLS threads support with Eina threads support.
At least now, if you rebuild the efl in the right order, you
can't end with one library initializing GnuTLS without threads
support and another needing GnuTLS with threads support.


SVN revision: 59379
2011-05-14 09:22:15 +00:00
Vincent Torri d90ad492c6 Ecore: ecore_con: Evil not needed in ecore_con_local.c
SVN revision: 59087
2011-05-01 17:45:58 +00:00
Vincent Torri 504f11eff5 shadow var--
SVN revision: 59032
2011-04-29 07:39:28 +00:00
Vincent Torri b9ed03b15d formatting
SVN revision: 59031
2011-04-29 07:34:12 +00:00
Vincent Torri 2d4b272338 Ecore: ecore_con: add some checks and formatting
* add checks for the fd handlers
 * reformat a bit _ecore_con_svr_tcp_handler()



SVN revision: 59030
2011-04-29 07:22:53 +00:00
Vincent Torri 544295504b remove shadow variables
SVN revision: 58945
2011-04-27 05:45:28 +00:00
Vincent Torri 27302831f4 Ecore: ecore_con: fix warning on Windows
SVN revision: 58899
2011-04-25 13:10:57 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Cedric BAIL 8292de72f2 ecore: Add pipelining support for HTTP 1.1.
SVN revision: 58265
2011-04-01 16:37:55 +00:00
Cedric BAIL 9c336235b2 ecore: add ecore_con_url_ssl_ca_set.
patch by PnB <Poor.NewBie@gmail.com>


SVN revision: 58197
2011-03-30 09:15:24 +00:00
Cedric BAIL 84c7aaa3c8 ecore: fix ecore_con_url_ftp_upload to upload all the file.
SVN revision: 58036
2011-03-23 17:28:21 +00:00
Mike Blumenkrantz 59cf6d359c fix stupid 64bit compile warning from stupid gnutls api bug
SVN revision: 57901
2011-03-19 20:27:16 +00:00
Mike Blumenkrantz 6fe0efadd5 fix stupid openssl crash
SVN revision: 57878
2011-03-19 05:02:37 +00:00
Vincent Torri 01198a556f formatting
SVN revision: 57723
2011-03-13 10:42:22 +00:00
Vincent Torri f2247fb7e3 Ecore ecore_con:
* include arpa/inet.h if it is detected
 * use correct types
 * small cleanup


SVN revision: 57503
2011-03-03 21:05:28 +00:00
Cedric BAIL 06b65c3627 ecore: add @since .
SVN revision: 57453
2011-03-01 10:12:33 +00:00
Cedric BAIL 40edc9ccb1 ecore: add ecore_con_url_ssl_verify_peer_set patch by Raoul Hecky.
SVN revision: 57448
2011-03-01 09:51:51 +00:00
Carsten Haitzler 754351b353 default 300sec fix from raoul
SVN revision: 57204
2011-02-21 06:38:36 +00:00
Mike Blumenkrantz d704222f1c only log error events for actual errors
SVN revision: 57065
2011-02-15 20:17:48 +00:00
Mike Blumenkrantz 276eccb1bf +ecore_con_client_port_get
SVN revision: 56950
2011-02-11 07:38:27 +00:00
Mike Blumenkrantz 84cd9199de avoid double printing errors
SVN revision: 56934
2011-02-10 19:22:30 +00:00
Mike Blumenkrantz 8c9577dc2a rewrite all event handler code to be unified, always increment server event count for client events (previously was only incremented on some events randomly)
SVN revision: 56933
2011-02-10 19:17:30 +00:00
Mike Blumenkrantz daafddb571 implement full event-driven error messaging api for all non-curl ecore_con
docs are in the header, happy birthday cedric


SVN revision: 56894
2011-02-10 08:49:23 +00:00
Mike Blumenkrantz 54baacb790 added some more possibly useless safety checks to ecore_con_ares
SVN revision: 56892
2011-02-10 07:50:20 +00:00
Davide Andreoli ecf4379680 ok, sorry, there was a reason: shutting up gcc warnings. spank myself :P
SVN revision: 56612
2011-01-31 18:57:13 +00:00
Davide Andreoli 080b978c88 :/ setting a const char * param to NULL ?? and after the return ?? :O
random spank

SVN revision: 56611
2011-01-31 18:48:50 +00:00
Carsten Haitzler 51c7fa56c0 re-enable progress callbacks.
SVN revision: 56339
2011-01-28 02:46:27 +00:00
Carsten Haitzler a450497a08 ecore_con_url_get needs no args.
SVN revision: 56338
2011-01-28 02:24:24 +00:00
Mike Blumenkrantz 17930e3b31 fix segv
SVN revision: 56314
2011-01-27 03:23:05 +00:00
Carsten Haitzler dca85251b0 dns async lookup fix - if u del svr before dns lookup done
SVN revision: 56254
2011-01-21 10:01:04 +00:00
Cedric BAIL d2d54ecad6 * ecore: SO_REUSEADDR in all case.
Patch thanks to Raoul Hecky < raoul.hecky at gmail.com >


SVN revision: 56253
2011-01-21 09:45:38 +00:00
Mike Blumenkrantz 88a8651acb I think someone meant to set it like this originally but was confused by the double negative.
ecore_con_url no longer shows progress bars


SVN revision: 56239
2011-01-20 09:27:19 +00:00
Carsten Haitzler 9f51fd635d warning--
SVN revision: 56185
2011-01-16 08:10:50 +00:00
Mike Blumenkrantz 13c0840cd2 avoid passing NULL to memcpy
SVN revision: 56083
2011-01-14 02:35:59 +00:00
Mike Blumenkrantz dac94cd03a if alloca fails you're screwed anyway, so not much point checking for it
SVN revision: 56082
2011-01-14 02:32:45 +00:00
Mike Blumenkrantz 3ed55a28d8 null variables at start
SVN revision: 56031
2011-01-11 00:51:23 +00:00
Mike Blumenkrantz 86daaaaa3d handle ares timeout more gracefully
SVN revision: 56025
2011-01-10 14:41:34 +00:00
Mike Blumenkrantz 989a3f0693 avoid closing stdout (fd0)
SVN revision: 55959
2011-01-06 22:35:31 +00:00
Mike Blumenkrantz 828dce5677 complete rewrite of c-ares fd handling: fixes an instance of ticket #637 and also integrates with main loop much more nicely
SVN revision: 55958
2011-01-06 22:32:25 +00:00
Eduardo de Barros Lima adff898079 Add basic cookie support to Ecore_Con_Url.
This commit adds some simple wrapper functions for libcurl
cookie-related code to Ecore_Con_Url.

It is now possible to enable the cookie engine, clear cookies and
dump/load them from files.

Cookies in both HTTP header-style and cookie-jar are supported.

Patch by Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 55934
2011-01-06 16:10:38 +00:00
Carsten Haitzler b60120b26b ok rafael/rui - i've deprecated send and made a get and post call that
will explicitly do a get or a post. send is still there (deprecated)
and it just does what it did before - it guesses effectively. please
comment. :)



SVN revision: 55926
2011-01-06 06:33:25 +00:00
Carsten Haitzler 2f564887ec formatting
SVN revision: 55624
2010-12-18 01:47:29 +00:00
Sebastian Dransfeld df817afd9a only check errno if num < 0
SVN revision: 55611
2010-12-17 12:09:14 +00:00
Mike Blumenkrantz 14751dc4a1 add notes to prevent future breaking of ecore_con_ssl
SVN revision: 55606
2010-12-17 09:02:44 +00:00
Sebastian Dransfeld 3ce611e057 formatting
SVN revision: 55605
2010-12-17 08:48:36 +00:00
Sebastian Dransfeld a8780986e8 don't accept 0 return
SVN revision: 55604
2010-12-17 08:44:53 +00:00
Sebastian Dransfeld 9a6b8adfec only emit ECORE_CON_EVENT_SERVER_DATA when data
SVN revision: 55602
2010-12-17 08:15:52 +00:00
Cedric BAIL ae9917c9f2 * ecore: SPANK ! SPANK ! SPANK !
The value of errno is only know when the result of a syscall
	tell you to look at it. And don't set errno, that's a bad idea !


SVN revision: 55594
2010-12-16 13:16:40 +00:00
Cedric BAIL 8a4ad8c102 * ecore: fix obvious bug. But Ecore_Con with UDP session is
completly broken and no time to fix it.

	Try elixir sample code:
	http://code.google.com/p/freebox-elixir/source/browse/#svn%2Ftrunk%2Fexemples%2Fecore_con_udp



SVN revision: 55593
2010-12-16 13:08:49 +00:00
Carsten Haitzler d19ff43b6e if data is NULL for curl... make postfieldsize 0.
SVN revision: 55583
2010-12-16 08:35:29 +00:00
Carsten Haitzler daafe9ee79 no - dont do http:// - then englebass is right need to do ftp://,
imap:// file:// .... the list never ends. the docs do explicitly say
its a hostname, NOT a url.



SVN revision: 55580
2010-12-16 08:07:10 +00:00
Mike Blumenkrantz 5af9081342 finally fix stupid ssl read bug for long transfers! also added a couple more error checks and reordered things to read a little better
SVN revision: 55577
2010-12-16 07:43:48 +00:00
Mike Blumenkrantz 913852ba34 validate name better, fix super frustrating bug where connections would inexplicably die if prefixed with http[s]://
SVN revision: 55573
2010-12-16 05:13:29 +00:00
Mike McCormack c9b693655c From: Mike McCormack <mj.mccormack@samsung.com>
Subject: [E-devel] [PATCH 3/4] ecore_con: Always close fd after remove
fdh from main loop



SVN revision: 55571
2010-12-16 04:39:38 +00:00
Mike McCormack bdf1b4b330 From: Mike McCormack <mj.mccormack@samsung.com>
Subject: [E-devel] [PATCH 1/4] ecore_con: Always close fd after remove
fdh from main loop



SVN revision: 55570
2010-12-16 04:38:37 +00:00
Rui Seabra 5315577722 http auth was implemented way back in r48715 (one less item in FIXMEs).
SVN revision: 55557
2010-12-14 22:30:53 +00:00
Mike Blumenkrantz ee1d0dbc23 use more explicit error checks
SVN revision: 55498
2010-12-11 16:51:29 +00:00
Mike Blumenkrantz 9b17481f53 handle ARES_ECONNREFUSED
SVN revision: 55473
2010-12-11 00:25:46 +00:00
Mike Blumenkrantz e17077e3f4 avoid writing <= 0 bytes to clients
SVN revision: 55433
2010-12-09 21:04:22 +00:00
Mike Blumenkrantz 4912e6dc4f this error fix is dedicated to Tommy[D] for continuing to prove that the impossible can still be possible on his system
SVN revision: 55432
2010-12-09 21:02:53 +00:00
Mike Blumenkrantz 4440764c78 reorder a little, fix bug where client_del event was never sent if it had send data in its buffer
question to think on: should a deleted client be allowed to finish sending its data or should it be killed immediately?


SVN revision: 55391
2010-12-09 06:43:58 +00:00
Mike Blumenkrantz 3b86fed32f avoid loooooooooooooots of ecore spankies
SVN revision: 55390
2010-12-09 06:16:13 +00:00
Mike Blumenkrantz 0c1efd9afd handle ARES_ENODATA more gracefully
SVN revision: 55371
2010-12-08 14:00:37 +00:00
Mike Blumenkrantz d15d81161f avoid magic fail on already-freed handler
SVN revision: 55280
2010-12-05 07:30:17 +00:00
Mike Blumenkrantz 55d73aee65 aha! found the leak and eliminated it!
SVN revision: 55176
2010-12-03 06:14:30 +00:00
Mike Blumenkrantz b26182d35b avoid segv
SVN revision: 55118
2010-12-01 10:33:07 +00:00
Mike Blumenkrantz 88ca4717d1 formatting cleanups
SVN revision: 55109
2010-12-01 04:42:29 +00:00
Mike Blumenkrantz 1d759c88d1 only enable extensive ssl logging with compile define set to avoid massive slowdown
SVN revision: 55106
2010-12-01 03:19:28 +00:00