Commit Graph

552 Commits

Author SHA1 Message Date
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