1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-11-03 04:17:20 -05:00
Commit Graph

226 Commits

Author SHA1 Message Date
Stephan Jauernick
617d219021 Fix: Fixed getaddrinfo detection for windows via ws2tcpip.h 2022-03-13 15:49:38 +00:00
Philipp Schafft
2b39d7f178 Fix: Corrected prototype for sock_get_server_socket() 2022-03-12 18:10:48 +00:00
Philipp Schafft
bb12858abe Feature: Added support for %R (sock_t) for debug logging 2022-03-07 10:57:32 +00:00
Philipp Schafft
a6db913245 Update: Code style 2022-03-07 10:51:58 +00:00
Philipp Schafft
265f4eb61e Feature: Added a way to prefer IPv6 for binding sockets 2022-03-07 09:49:12 +00:00
Philipp Schafft
87ac18cd2c Update: Code style 2022-03-07 08:51:43 +00:00
Philipp Schafft
08443ca69e Feature: Allow testing for IPv4-mapped IPv6 mode 2022-03-07 08:40:21 +00:00
Philipp Schafft
88e5e66a2a Feature: Added support to query address family of a socket 2022-03-05 08:42:49 +00:00
Philipp Schafft
cf6797b68e Update: Fixed a warning 2022-03-05 08:42:14 +00:00
Philipp Schafft
c5a38dc195 Fix: Corrected escaping in %H (to MSB first) 2022-03-01 08:39:29 +00:00
Philipp Schafft
f35cc512b4 Feature: Added log_contents_array() as a nicer version of log_contents() 2020-10-02 09:42:16 +00:00
Philipp Schafft
819fcac1b1 Update: Added vim swap files to .gitignore 2020-10-02 08:29:57 +00:00
Philipp Schafft
c45b02414a Fix: Do not strcasecmp() content-type if unset (NULL)
Thanks to lns for finding it.
2020-02-12 10:59:57 +00:00
Philipp Schafft
5de3e8b3b0 Fix: Corrected usage of _mangle() for httpp_ at least 2019-05-27 13:54:00 +00:00
Philipp Schafft
d20ca18692 Update: Updated copyright statements 2019-04-28 09:40:47 +00: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