ChunEon Park
a76caa3021
ecore/ecore_con - removed white trailings
...
SVN revision: 66473
2011-12-23 07:04:36 +00:00
Mike Blumenkrantz
9aedbc1bfb
by the power of greyskull^Wunsigned integers, this test will always be true!
...
SVN revision: 66463
2011-12-22 08:08:05 +00:00
Mike Blumenkrantz
3258503e8a
curl patch from bluezery to use ECORE_CON_SOCKS_V4 env variable and also add socks proxying api
...
SVN revision: 66462
2011-12-22 08:06:51 +00:00
Mike Blumenkrantz
ec30d20fa0
add debug macros to print location of svr/cl kill
...
SVN revision: 66439
2011-12-21 10:13:57 +00:00
Mike Blumenkrantz
7daccc8eea
provide slightly more useful dbg info with new kill api
...
SVN revision: 66438
2011-12-21 10:07:07 +00:00
Mike Blumenkrantz
178ac4be78
remove 'dead' member from client/server structs: this now serves no purpose
...
SVN revision: 66437
2011-12-21 10:02:30 +00:00
Mike Blumenkrantz
0207023886
nope
...
SVN revision: 66436
2011-12-21 09:35:10 +00:00
Carsten Haitzler
ff64b561ca
revert 66362 -> breaks ecore-con. :( sorry stu!
...
SVN revision: 66434
2011-12-21 09:23:27 +00:00
Carsten Haitzler
5e5024860c
ooh compile break if no curl! fix!
...
SVN revision: 66417
2011-12-21 08:20:16 +00:00
Bluezery
16a9961f58
From: Bluezery <ohpowel@gmail.com>
...
Subject: Re: [E-devel] [Patch][ecore_con_url] Add proxy & timeout set
API
There existed two problems when using ecore_con_url. We cannot set
proxy and set timeout.
So, I added two APIs for solving these problems.
Proxy can be set by setting libcurl option.
Timeout also can be set but It need to add handler for Linux alarm
signal. (Please refer:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUT )
So I implemented it by using ecore timer.
SVN revision: 66414
2011-12-21 06:18:25 +00:00
Mike Blumenkrantz
1f7c3b5a4a
fix a Heroes of SVN-level breakage from 66068 which prevented all ecore-con fds from being closed :D
...
SVN revision: 66362
2011-12-20 06:22:30 +00:00
Mike Blumenkrantz
5658944274
fix impossible possible segv
...
SVN revision: 66295
2011-12-16 18:06:19 +00:00
Mike Blumenkrantz
47693ea74c
add note about CORK availability
...
SVN revision: 66083
2011-12-10 08:23:34 +00:00
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
c5b0df352e
fix cert flag detection
...
SVN revision: 66081
2011-12-10 08:09:17 +00:00
Mike Blumenkrantz
083d3466a1
revert 66063 + related commits: my dreams of zero-copy ecore-con transfers were shattered by the inconsistency of linux socket operations. way to go kernel developers.
...
SVN revision: 66078
2011-12-10 07:34:45 +00:00
Mike Blumenkrantz
eecef7e076
add docs for NODELAY flag
...
SVN revision: 66071
2011-12-10 06:53:54 +00:00
Mike Blumenkrantz
c92c213b0f
temp fix while I figure out some weird behavior
...
SVN revision: 66069
2011-12-10 06:15:00 +00:00
Mike Blumenkrantz
387732c836
rewrote server+client deletion code to (hopefully) be failproof.
...
I've also set it to abort() with a big error if it gets to the old fallthrough spot, so make sure to send me a backtrace if this is reached (though it should be impossible)
SVN revision: 66068
2011-12-10 05:42:32 +00:00
Mike Blumenkrantz
498904e260
more error event unification
...
SVN revision: 66067
2011-12-10 05:25:30 +00:00
Mike Blumenkrantz
e90a7c7cbd
some small cleanups to unify more error code
...
SVN revision: 66066
2011-12-10 05:17:34 +00:00
Mike Blumenkrantz
ff57b89995
add windows error events for new code, condense some connect handlers
...
SVN revision: 66065
2011-12-10 05:09:47 +00:00
Mike Blumenkrantz
0b109fb5c2
optimize read mechanics for remote servers using ioctl to determine number of bytes available for reading.
...
in general, this should provide an improvement which scales with the amount of data being transferred:
* small transfers will incur a small amount of overhead from potentially unneeded memory as I try to account for a bug in FIONREAD which returns a number that is smaller than the actual number of bytes available for read on a socket
* large transfers will no longer require any copies of the data
on systems which do not provide the FIONREAD ioctl(), old functionality will be used
this should work on windows, though I (obviously) can't test it myself
thus ends the longest commit message I have ever written
SVN revision: 66063
2011-12-09 22:35:12 +00:00
Mike Blumenkrantz
2d6064e88f
okay I was a little too excited
...
SVN revision: 66042
2011-12-08 17:27:30 +00:00
Mike Blumenkrantz
776e6e445d
more binbuf_manage_new!
...
SVN revision: 66038
2011-12-08 16:08:33 +00:00
Mike Blumenkrantz
bdc371cac6
use binbuf_manage_new
...
SVN revision: 66037
2011-12-08 15:58:01 +00:00
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