1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-12-04 14:46:31 -05:00
Commit Graph

270 Commits

Author SHA1 Message Date
Marvin Scholz
ae0a77ebde Add igloo.h 2018-10-26 13:59:15 +02:00
Philipp Schafft
b6489e7e2d Update: Renamed PROTECT_CODE() to IGLOO_PROTECT_CODE()
Is this macro in use at all?
2018-10-12 11:34:55 +00:00
Philipp Schafft
2f7226c8bd Update: Added "igloo_" to all #defines and types 2018-10-12 11:27:17 +00:00
Philipp Schafft
5cc52a7b3d Update: Added "igloo_" to all experted symbols 2018-10-12 10:55:24 +00:00
Philipp Schafft
f2efba644c Update: Corrected years of copyright 2018-10-12 10:28:09 +00:00
Philipp Schafft
60ab7b13b7 Cleanup: Corrected include guards 2018-10-12 10:16:06 +00:00
Philipp Schafft
e4a483d71e Cleanup: Removed _mangle() 2018-10-12 10:12:56 +00:00
Philipp Schafft
5986d17e47 Update: Renamed libpermafrost libigloo 2018-10-12 09:25:16 +00:00
Marvin Scholz
d8885f5668 Make common a separate library 2018-10-11 15:43:00 +02:00
Philipp Schafft
ad5fc10061 Merge branch 'update-httpp' 2018-09-20 09:58:39 +00:00
Philipp Schafft
6492a456a1 Feature: Allow enumeration of parser content 2018-09-20 09:58:28 +00:00
Philipp Schafft
c1d41f38b0 Cleanup: Fixed 9 year old typo. 2018-09-20 09:58:28 +00:00
Philipp Schafft
03659eb096 Feature: Added reference counting to httpp parser object 2018-09-20 09:58:28 +00:00
Philipp Schafft
aeddcad5df Feature: Added httpp_request_info() 2018-09-20 09:58:28 +00:00
Philipp Schafft
1f57410788 Fix: Actually insert nodes into the tree if they are new 2018-09-20 09:58:28 +00:00
Philipp Schafft
7d2b9fa3fd Feature: Added httpp_get_param_var() so multi-value access is possible 2018-09-20 09:58:28 +00:00
Philipp Schafft
53c13dd00e Update: Replaced next member with an array of values 2018-09-20 09:58:28 +00:00
Philipp Schafft
0117b90aa6 Update: Added a (still unused) next member to the http_var_t structure 2018-09-20 09:58:28 +00:00
Philipp Schafft
09fb1ce137 Fix: Consider extra arguments in HTTP request line invalid 2018-09-12 09:26:59 +00:00
Philipp Schafft
368fbd4442 Update: Code style 2018-09-12 09:22:46 +00:00
Philipp Schafft
a7b391b0f2 Fix: Correct calculation of block sites 2018-09-12 09:14:34 +00:00
Philipp Schafft
db51153683 Feature: Support alternative quoting with %#H 2018-09-12 09:14:27 +00:00
Philipp Schafft
ceab1c8cf5 Cleanup: Code style 2018-09-12 09:14:20 +00:00
Philipp Schafft
6973fe2cac Cleanup: Converted tabs to spaces 2018-09-12 09:14:13 +00:00
Philipp Schafft
19b665ba5c Feature: Use proper \xHH escaping for log lines 2018-09-12 09:13:57 +00:00
Philipp Schafft
dd0cfacb61 Fix: Ensure block_len is always set before used. 2018-06-20 06:42:49 +00:00
Philipp Schafft
9a4b8bb869 Cleanup: Removed tailing newlines 2018-06-20 06:40:38 +00:00
Philipp Schafft
f9a1ced5c9 Cleanup: Removed unused code 2018-06-20 06:40:21 +00:00
Philipp Schafft
11b9c61ae7 Update: Removed unused variable.
I'm not sure if we should check for the result of pthread_join().
But how it was doesn't do that anyway.
2018-06-20 06:37:10 +00:00
Philipp Schafft
9bfb3a34fc Update: Added #defines for _mangle() 2018-06-18 21:39:13 +00:00
Philipp Schafft
31f24e9869 Feature: Added httpp_get_param() which does POST, then queryparams 2018-06-18 21:36:19 +00:00
Philipp Schafft
937268e288 Feature: Added support to parse POST data 2018-06-18 14:39:03 +00:00
Philipp Schafft
fca416b126 Feature: Allow %z[ui] in logging format strings 2018-04-28 12:02:50 +00:00
Philipp Schafft
308e73134c Feature: Allow checking for transfer encoding EOF 2018-04-17 08:59:42 +00:00
Philipp Schafft
829cd5f3b6 Update: Fixed typo 2018-04-13 18:35:40 +00:00
Philipp Schafft
001667626c Porting: Allow build on Android
This allows to build the threading module on Android. Android has
a little reduced implementation for POSIX threads.

This is a clean version of patches from
 Stephan Jauernick <info@stephan-jauernick.de> and
 Marvin Scholz <epirat07@gmail.com>.
2016-03-18 08:51:27 +00:00
Marvin Scholz
d3904369e8 Cleanup: corrected use of white spaces 2016-03-18 08:45:26 +00:00
Marvin Scholz
b182f8df1b Fix Makefiles usage of deprecated INCLUDES variable 2015-11-28 13:21:03 +01:00
Philipp Schafft
bac982d2c8 Fix: fixed missing includes of standard headers.
This fixes missing includes of standard headers.
This seems to happened as a result of cleaning up the protocol code.
2015-11-20 19:37:55 +00:00
Philipp Schafft
31c0511a7f Cleanup: remove unused var 2015-11-04 14:24:12 +00:00
Philipp Schafft
411e159df0 Cleanup: removed yet another debug line 2015-02-10 21:26:14 +00:00
Philipp Schafft
f5d9d955a2 Cleanup: removed all the debug stuff left over from last commit 2015-02-10 21:15:14 +00:00
Philipp Schafft
ea8dde3202 Fix: fixed a lot smaller and bigger bugs in chunked transfer encoding
This fixes a lot bugs.
debug fprintf()s are included intentionally and will be removed
by the next commit.
2015-02-10 21:13:15 +00:00
Philipp Schafft
58cccf307e Feature: Added mico-library for Transfer Encodings.
This adds a micro library for handling HTTP Transfer encodings.
This is mostly to implement PUT with chunked support in Icecast2.
2015-02-10 18:47:40 +00:00
Philipp Schafft
ae2a956d88 Feature: Added support for HTTP Methods: OPTIONS, DELETE, TRACE, CONNECT
This added support for the standard HTTP/1.1 methods:
 * OPTIONS
  - Query the server to tell what features are supported.
 * DELETE
  - Delete a resource on a server. In Icecast2 context this is
    about what is known as 'kick source'.
 * TRACE
  - Asks the server to return the request to the client as body.
    The client is to send a body-less request and the server
    will return with a 200 OK and the body to to be the exact
    bitstream it got from the client (or any (reverse) proxy).
    The Content-Type is to be set to 'message/http'.
 * CONNECT
  - Client asks the server to proxy the request to the given resource.
    This hardly seems to make sense for Icecast2 but may be used by
    some clients such as libshout. Therefor I added it as well
    so we have at least an ID assigned to it.

Please note that this is a ABI breaker and you will need to recompile
your projects (use 'make clean all').

See: RFC2616
2015-02-10 08:42:59 +00:00
Thomas B. Ruecker
cf289788a3 Fix regression caused by penultimate commit
see 536582171d
2014-12-29 15:51:19 +00:00
Erik van Pienbroek
4ccfc5d998 Use WSA error codes when available
Signed-off-by: Thomas B. Ruecker <thomas@ruecker.fi>
2014-12-27 12:13:11 +00:00
Philipp Schafft
536582171d Prevent various redefined definitions in win32-specific code
From: Erik van Pienbroek <epienbro@fedoraproject.org>
Date: Mon, 22 Dec 2014 18:02:09 +0100
2014-12-24 11:40:30 +00:00
Thomas B. Ruecker
8685e6ed5a Explicitly license httpp log net thread and timing
This change was ACKd by all authors and explicitly states the license
to be LGPLv2 in all files to match COPYING. This removes ambiguity
when using these files e.g. as part of libshout.

For a list of authors, pease refer to the copyright headers of each
file.
2014-12-05 09:31:08 +00:00
Marvin Scholz
0e41ed2372 Add .gitignore 2014-12-02 22:44:33 +01:00