Mike Blumenkrantz
54c2db319a
we've got NODELAY, may as well add CORK
...
SVN revision: 66082
2011-12-10 08:14:50 +00:00
Mike Blumenkrantz
eecef7e076
add docs for NODELAY flag
...
SVN revision: 66071
2011-12-10 06:53:54 +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
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
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
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
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
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
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
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
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
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
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
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
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
Mike Blumenkrantz
276eccb1bf
+ecore_con_client_port_get
...
SVN revision: 56950
2011-02-11 07:38:27 +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
Carsten Haitzler
a450497a08
ecore_con_url_get needs no args.
...
SVN revision: 56338
2011-01-28 02:24:24 +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
Mike Blumenkrantz
e289280418
add ecore_con_client_connected_get to avoid people scratching their heads and wondering how the hell they're supposed to know if a client has disconnected
...
SVN revision: 54204
2010-11-06 00:17:04 +00:00
Raphael Kubo da Costa
a07b93ab49
From: Raphael Kubo da Costa <kubo@profusion.mobi>
...
This signature change follows libcurl's behaviour more closely:
CURLOPT_POSTFIELDSIZE expects a long, and a value of -1 means that
content length calculation is forwarded to libcurl, which performs a
strlen() on CURLOPT_POSTFIELD.
SVN revision: 53845
2010-10-25 02:53:06 +00:00
Cedric BAIL
515f06978b
* ecore: time to cleanup ecore_con_url time.
...
Patch by Patch by Raphael Kubo da Costa <kubo@profusion.mobi>
As discussed on the development mailing list, we should accept a
double instead of a time_t for consistency with the rest of the API.
Some apidox has been added too, and as a result
ECORE_CON_URL_TIME_LASTMOD has been removed, since it does not make
much sense (it is an HTTP response header).
SVN revision: 53572
2010-10-18 16:39:12 +00:00
Cedric BAIL
680fa431b3
* ecore: remove ecore_con_url_http_post_send as it expose CURL
...
API and is not useful to someone.
SVN revision: 53566
2010-10-18 12:52:46 +00:00
Vincent Torri
eeb330adc3
fix doxygen warnings
...
SVN revision: 53296
2010-10-12 06:34:31 +00:00
Gustavo Lima Chaves
6656e77c9c
Yet another int -> Eina_Bool fix, similar to the one done to
...
ecore_con_url_verbose_set.
Patch by Rafael Kubo.
SVN revision: 53197
2010-10-08 18:41:49 +00:00
Bruno Dilly
b26732d09c
In practice, it was already being treated as an Eina_Bool, so let us
...
declare it as such and simplify the code.
Author: Raphael Kubo da Costa <kubo@profusion.mobi>
SVN revision: 53189
2010-10-08 15:17:01 +00:00
Mike Blumenkrantz
b64b0b3ac9
first part of ssl rerererewrite: split functions, move stuff out of prepare(), and add verification for gnutls clients
...
SVN revision: 52837
2010-09-28 03:16:08 +00:00
Vincent Torri
3fd0a6fb08
remove whitespaces
...
SVN revision: 52569
2010-09-22 08:03:38 +00:00
Mike Blumenkrantz
fb977d72c4
implement functions to time out client connections to our server
...
*set/get default idle timeout of clients*
+ecore_con_server_timeout_set
+ecore_con_server_timeout_get
*set/get idle timeout of a client*
+ecore_con_client_timeout_set
+ecore_con_client_timeout_get
*get connection uptime of a client/server*
+ecore_con_client_uptime_get
+ecore_con_server_uptime_get
*fix giant ssl server memory leak*
SVN revision: 52564
2010-09-22 04:48:09 +00:00
Mike Blumenkrantz
5420324fd6
add ECORE_CON_USE_MIXED, which is just an alias for SSL3+TLS
...
SVN revision: 52561
2010-09-22 01:26:23 +00:00
Mike Blumenkrantz
ad3ecd489a
ecore_con_url_destroy -> ecore_con_url_free
...
also some small function rearranging
SVN revision: 52534
2010-09-21 06:49:07 +00:00
Mike Blumenkrantz
0929a7a9ce
-EAPI int ecore_con_url_url_set(Ecore_Con_Url *url_con,
...
+EAPI Eina_Bool ecore_con_url_url_set(Ecore_Con_Url *url_con,
-EAPI int ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
+EAPI Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
-EAPI int ecore_con_url_send(Ecore_Con_Url *url_con,
+EAPI Eina_Bool ecore_con_url_send(Ecore_Con_Url *url_con,
-EAPI int ecore_con_url_ftp_upload(Ecore_Con_Url *url_con,
+EAPI Eina_Bool ecore_con_url_ftp_upload(Ecore_Con_Url *url_con,
SVN revision: 52531
2010-09-21 03:14:46 +00:00
Mike Blumenkrantz
f6a8d74b50
formatting
...
SVN revision: 52530
2010-09-21 03:08:35 +00:00