[PATCH] How to support chunks in POST request.

2010-11-02 Thread Mohamed Abbas
From: Mohamed Abbas This patch just to start on how best to implement POST with chunk encoding. In start_request we call input->func callbak if it returns FALSE then do POST the normal way with Content-Length set to length, else we set Transfer-Encoding to chunked and we send the POST request in

[PATCH v7 4/4] Add OpenVPN support to connect-vpn script

2010-11-02 Thread Daniel Wagner
From: Daniel Wagner --- test/connect-vpn | 42 ++ 1 files changed, 30 insertions(+), 12 deletions(-) diff --git a/test/connect-vpn b/test/connect-vpn index 22f1370..7e258b8 100755 --- a/test/connect-vpn +++ b/test/connect-vpn @@ -4,7 +4,11 @@ import sys

[PATCH v7 3/4] Add OpenVPN support

2010-11-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.plugins | 34 ++- bootstrap-configure |1 + configure.ac | 17 plugins/openvpn.c| 239 ++ scripts/openvpn-script.c | 123 5 files changed, 412

[PATCH v7 2/4] Remove unused code in openconnect

2010-11-02 Thread Daniel Wagner
From: Daniel Wagner --- plugins/openconnect.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/plugins/openconnect.c b/plugins/openconnect.c index 42192f6..711c640 100644 --- a/plugins/openconnect.c +++ b/plugins/openconnect.c @@ -38,7 +38,6 @@ static int oc_notify

[PATCH v7 1/4] Add Destionation to provider

2010-11-02 Thread Daniel Wagner
From: Daniel Wagner This is Samuel's work. --- include/element.h |1 + include/property.h |1 + src/connection.c |8 +++- src/connman.h |1 + src/element.c |6 ++ src/inet.c | 27 --- src/ipv4.c | 12 ---

Add OpenVPN support

2010-11-02 Thread Daniel Wagner
Hi, This version works for me stable. The problem was the OpenVPN does an inactivity check and if this is true then it does automatically a reconnection. This fails currently because the DNS server is behind the not-existing tunnel... This feature is now disabled. The automake magic now works fo

Re: [PATCH] Save offlinemode when device enabled

2010-11-02 Thread Samuel Ortiz
Hi Leena, On Fri, Oct 29, 2010 at 07:22:36PM +0530, leena.gu...@wipro.com wrote: > Below is a patch for: > > http://bugs.meego.com/show_bug.cgi?id=8747 > http://bugs.meego.com/show_bug.cgi?id=8866 > > When offlinemode is on and device is enabled using enable-device test script, > the Powered pr

Re: [PATCH 0/2] gsupplicant: remove disconnected networks from wpa_s

2010-11-02 Thread Samuel Ortiz
Hi Kalle, On Wed, Oct 27, 2010 at 09:49:29PM +0300, Kalle Valo wrote: > Here are two simple patches to remove disconnected networks from > wpasupplicant. I had few patches on top of master branch, but rebasing to > master should be easy. The patches make sense to me, thanks a lot. Both patches app

[PATCH 2/3] Modified create-proxy-config test tool to handle all proxy methods.

2010-11-02 Thread Tomasz Bursztyka
--- test/create-proxy-config | 47 + 1 files changed, 38 insertions(+), 9 deletions(-) diff --git a/test/create-proxy-config b/test/create-proxy-config index 93f075e..cc0c266 100755 --- a/test/create-proxy-config +++ b/test/create-proxy-config @@ -4,2

[PATCH 3/3] Manual proxy configuration execution added.

2010-11-02 Thread Tomasz Bursztyka
--- src/manual.c| 104 +++ src/pacrunner.h |4 ++ src/proxy.c | 10 ++--- 3 files changed, 112 insertions(+), 6 deletions(-) diff --git a/src/manual.c b/src/manual.c index 345e5ca..ff14095 100644 --- a/src/manual.c +++ b/src/manua

[PATCH 1/3] Adding full manual proxy settings support (servers/excludes URI and URI parsing/validation).

2010-11-02 Thread Tomasz Bursztyka
--- Makefile.am |7 +- src/manager.c | 70 ++ src/manual.c| 277 +++ src/manual.h| 26 + src/pacrunner.h | 16 +++- src/proxy.c | 76 --- 6 files changed, 435 insertions(+), 37 deletions(

[PACrunner][PATCH] Adding full manual proxy support to pacrunner

2010-11-02 Thread Tomasz Bursztyka
Hello, Here are rewritten patches for manual proxy support, and now it also provides the patch to "run" the manual configuration. So URI parsing/validation is done without regex. URI are parsed only once: when setting the configuration. To keep a good performance/memory ratio it fulfils a spec

Re: [PATCH] Fix deadlock when disassociate while associating.

2010-11-02 Thread Samuel Ortiz
Hi Mohamed, On Wed, Oct 27, 2010 at 03:17:39AM -0700, Mohamed Abbas wrote: > while associating then the user disconnect the network this will > cause the following: > 1- __connman_service_disconnect() which will call > 2- __connman_network_disconnect() which call > 3 err = netwo

Re: Add POST support in gweb

2010-11-02 Thread Marcel Holtmann
Hi Mohamed, > > Currently we support only GET method which does not need http request > > body only header is needed to support GET method. With POST we need to > > have both header and body parts in HTTP request. So user need to pass > > the body part which we can do by implementing one of these