summaryrefslogtreecommitdiff
path: root/gweb/gweb.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-17Apply tpkp-gnutlshyunuktak1-0/+3
Change-Id: I291b210c7f241492df945d565d9d44c7ad57054f Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak1-0/+4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang1-219/+237
2012-10-19web: Make debug func print more useful informationJukka Rissanen1-3/+11
The file and function name are printed in debug prints.
2012-09-11gweb: Don't use debug functionality after possible freePatrik Flykt1-4/+1
When the callback has been called, the whole structure might be freed. Thus don't call the debug function tied to the structure.
2012-05-22gweb: Adding a function to know if TLS is supported or notTomasz Bursztyka1-0/+5
2012-04-29gweb: Update copyright informationMarcel Holtmann1-1/+1
2012-04-27gweb: Define GWebRouteFuncPatrik Flykt1-6/+17
Define GWebRouteFunc that will be called when a route to the intended destination may need to be set up.
2012-04-05gweb: Add more debug prints when error happensJukka Rissanen1-0/+3
These prints are useful when checking why network connection failed.
2012-03-20gweb: workaround for setsockopt failureSébastien Bianti1-12/+56
Setting socket option BINDTODEVICE requires CAP_NET_RAW capability.
2012-01-10gweb: process_send_file after HTTP Header is sentSébastien Bianti1-0/+3
2012-01-05gweb: Add null pointer checks to avoid connman unstabilityThierry Boureille1-2/+7
Fix null pointer derefencing in "free_session" and "process_send_buffer" functions
2011-12-18gweb: Extend gweb to send fileRonald Tessier1-6/+77
2011-11-28gweb: Bind socket to the right interfaceTomasz Bursztyka1-0/+17
2011-11-10gweb: Use gcc atomics instead glib's onesDaniel Wagner1-5/+5
g_atomic_int_exchange_and_add() has been removed from glib 2.30 and g_atomic_int_add() should be used. Though there are still quite a few distros out which do not ship a glib version with g_atomic_int_add(). Instead of maintaing a compatiblilty glib layer we just use the built-in functions for atomic memory access.
2011-10-25gweb: Add SOCK_CLOEXEC to socket()Daniel Wagner1-1/+2
Make sure all file descriptor are closed.
2011-07-06gweb: Apply address family restiction to resolverTomasz Bursztyka1-0/+2
2011-06-27gweb: added the capability to restrict the requests to a specific address ↵Tomasz Bursztyka1-0/+19
family.
2011-06-13gweb: Make debug for write simplerMarcel Holtmann1-4/+2
2011-04-11gweb: numeric session address was not resolved properly.Jukka Rissanen1-0/+21
Reported by: Sebastien Bianti <sebastien.bianti@linux.intel.com>
2011-04-01gweb: Add port string to getaddrinfoSamuel Ortiz1-1/+4
Without doing so, the socket address returned will have its port field uninitialized. Fixes BMC#14753 Fixes BMC#15026
2011-03-25gweb: Add support for connecting to IPv6 host.Jukka Rissanen1-9/+20
2011-03-11gweb: Add user_agent_profile field in http headerSébastien Bianti1-1/+21
2011-01-26gweb: Check GString pointers before freeing themMohamed Abbas1-3/+9
Fixes BMC#12452
2011-01-01gweb: Skip hostname resolving when proxy is usedMarcel Holtmann1-2/+3
2011-01-01gweb: Add support for handling proxy informationMarcel Holtmann1-5/+54
2011-01-01gweb: Add extra debug for proxy setupMarcel Holtmann1-1/+8
2010-12-30Handling multiple message-header fields with the same name.Mohamed Abbas1-40/+79
Append all multiple message-header fields with the same name and remove any white space in front of fiels value.
2010-12-28Add g_web_result_get_header support.Mohamed Abbas1-13/+86
Add all http response header to hash table and allow user to get these header values. Header with same key will be replaced by last header value.
2010-11-08Don't report zero length success status back to clientMarcel Holtmann1-3/+5
2010-11-08Fix issue with non-blocking TLS connectionsMarcel Holtmann1-1/+2
2010-11-08Add extra debug statement for when TLS encryption is usedMarcel Holtmann1-2/+5
2010-11-08Add extra debug for result function return valueMarcel Holtmann1-1/+6
2010-11-08Add support for setting the HTTP version informationMarcel Holtmann1-4/+36
2010-11-08Read IO flags first before setting channel to non-blockingMarcel Holtmann1-6/+9
2010-11-07Add some extra HTTP body context debugMarcel Holtmann1-2/+4
2010-11-07Use send buffer to handle non-blocking GIOChannel usageMarcel Holtmann1-44/+49
2010-11-06Add interface for setting proxy for GWeb sessionsMarcel Holtmann1-0/+15
2010-11-06Support chunk encode in HTTP response.Mohamed Abbas1-7/+159
If chunk encode is used them make sure we strip the chunk body only.
2010-11-06Add chunk encode support when doing HTTP request.Mohamed Abbas1-72/+156
Allow user to send chunked HTTP post request by calling the input callback function on write until the user indicate no more data then we send the 0 length chunk to indicate end of request body. Now we use a new watch for sending data. This watch is only active if more data need to be send.
2010-11-02Add simple support for dealing with HTTP body contentMarcel Holtmann1-14/+26
2010-11-01Add some skeleton for POST supportMarcel Holtmann1-6/+34
2010-11-01Split the GET and POST method APIsMarcel Holtmann1-1/+19
2010-11-01The HTTP status code can be retrieved from result objectMarcel Holtmann1-6/+9
2010-11-01Add really simple content token parserMarcel Holtmann1-0/+151
2010-11-01Fix GWeb header parsing and make it more robustMarcel Holtmann1-67/+52
2010-10-31Ensure that chunk buffer is '\0' terminatedMarcel Holtmann1-1/+3
2010-10-31Reset GWebResult buffer and length in case of an errorMarcel Holtmann1-0/+4
2010-10-31Add support for parsing HTTP status code responseMarcel Holtmann1-0/+15
2010-10-30Add support for HTTP header parsing and body contentMarcel Holtmann1-18/+121