Philipp Schafft
33dcf24d21
Fix: Only reuse client IF we reached the end of it's body
2018-06-19 13:44:07 +00:00
Philipp Schafft
01c35e2c41
Feature: Check if we know client's body length. If so do not allow reading more than it.
2018-06-19 13:44:07 +00:00
Philipp Schafft
f370e88335
Feature: Implemented a way to put back data read from a connection
2018-06-19 13:44:07 +00:00
Philipp Schafft
460477230d
Feature: Consider encoding backend EOF state
2018-06-19 13:44:07 +00:00
Philipp Schafft
38436c3f6e
Update: Abstract body read with client_body_read() and client_body_eof()
2018-06-19 13:44:07 +00:00
Philipp Schafft
ece3786a0a
Fix: Check if we actually have source->client->con in case we want to access source->client->con->tls
2018-06-19 13:44:06 +00:00
Philipp Schafft
2d3409af1a
Merge branch 'ph3-module-support'
2018-06-19 13:06:55 +00:00
Philipp Schafft
551a36e43b
Fix: Added handling of newcb and freecb
2018-06-19 12:56:40 +00:00
Philipp Schafft
38c71f7673
Feature: Allow modules to handle client requests via <resource> tags
2018-06-19 12:56:40 +00:00
Philipp Schafft
f02c23a593
Fix: Corrected reference counters
2018-06-19 12:56:40 +00:00
Philipp Schafft
5d815f2205
Feature: Added a global module container object
2018-06-19 12:56:40 +00:00
Philipp Schafft
bb77660020
Feature: Added infrastructure for modules. Currently not used by Icecast at all.
2018-06-19 12:56:40 +00:00
Philipp Schafft
58ea4d8fe6
Fix: Added CFLAGS -Wall -Wextra -Wno-unused-parameter
2018-06-19 12:03:28 +00:00
Philipp Schafft
d745d02f4b
Cleanup: Removed unused member
2018-06-19 10:47:49 +00:00
Philipp Schafft
513b62aeea
Cleanup: Fixed some compiler warnings
2018-06-19 10:47:03 +00:00
Philipp Schafft
ea42a12efb
Fix: Fixed regression in htpasswd auth detecting no user list.
...
This fixed a regression caused by 4828c07d6b
.
The patch was also applied into release-2.4.4 as c5201770b6
.
However the patch for release-2.4.4 was correct. So no regression there.
2018-06-19 09:09:16 +00:00
Philipp Schafft
3598b00eac
Update: Ignore vim swap files
2018-06-17 16:35:21 +00:00
Philipp Schafft
02fb525365
Merge branch 'ph3-refobject'
2018-06-17 13:18:48 +00:00
Philipp Schafft
a3f29ae42a
Update: Renamed "parent" to "associated" to make it more generally useful
2018-06-17 13:17:05 +00:00
Philipp Schafft
4e1dc94c50
Feature: Added some useful macros to refobject API
2018-06-17 13:16:07 +00:00
Philipp Schafft
ac372a2edc
Fix: Do free the base of a refobject as well
2018-06-17 13:13:10 +00:00
Philipp Schafft
48c3ce52b3
Fix: Corrected used headers
2018-06-17 13:12:59 +00:00
Philipp Schafft
7cba708a50
Feature: Make refobject more general useful
2018-06-17 13:12:51 +00:00
Philipp Schafft
a9d391ffbc
Feature: Added generic reference object
2018-06-17 13:12:21 +00:00
Marvin Scholz
54bbfc3530
Check for transparent_union type attribute
2018-06-17 13:05:30 +00:00
Philipp Schafft
b3359a24ee
Merge branch 'ph3-header-cleanup'
2018-06-17 12:52:35 +00:00
Philipp Schafft
059bfdc7ce
Cleanup: Corrected headers used in code
2018-06-17 12:47:35 +00:00
Philipp Schafft
5c3e7760c5
Cleanup: Corrected headers used in headers
2018-06-17 12:28:38 +00:00
Philipp Schafft
8b86373e32
Cleanup: Moved types from "cfgfile.h" to "icecasttypes.h"
2018-06-17 12:15:18 +00:00
Philipp Schafft
aeaa91f633
Cleanup: Moved types from "connection.h" and "slave.h" to "icecasttypes.h"
2018-06-17 11:42:20 +00:00
Philipp Schafft
34b10657da
Cleanup: Make use of "icecasttypes.h"
2018-06-17 10:33:10 +00:00
Philipp Schafft
e467f6e31b
Cleanup: Make use of "icecasttypes.h" in format*.[ch]
2018-06-17 10:26:34 +00:00
Philipp Schafft
65f5eb9771
Cleanup: Make use of "icecasttypes.h" in connection.[ch]
2018-06-17 10:22:17 +00:00
Philipp Schafft
7893fc7560
Cleanup: Removed unused forward declaration
2018-06-17 10:21:33 +00:00
Philipp Schafft
f8e1ed0827
Cleanup: Removed unused forward declaration
2018-06-17 10:16:07 +00:00
Philipp Schafft
0adab82a71
Update: Moved ice_config_t into "icecasttypes.h"
2018-06-17 10:15:32 +00:00
Philipp Schafft
6ffc893b6a
Update: Move most common types into "icecasttypes.h"
2018-06-17 10:12:15 +00:00
Philipp Schafft
50a9d3382a
Update: Added a header for commonly used types
2018-06-17 09:43:55 +00:00
Philipp Schafft
41ab50dc9a
Update: Include <config.h> as we need it
2018-06-17 08:57:31 +00:00
Philipp Schafft
6136810f27
Fix: Corrected const for SSL_METHOD*.
...
I did this for OpenSSL 1.0.1t (0x1000114fL) as I don't
know which was the first affected version.
2018-06-16 18:40:04 +00:00
Philipp Schafft
9ae7af51b6
Merge branch 'ph3-options'
2018-06-16 17:59:52 +00:00
Philipp Schafft
d1dbc561ac
Update: Announce support for OPTIONS
2018-06-16 17:59:11 +00:00
Philipp Schafft
0bb65ed090
Feature: Allow OPTIONS on admin requests
2018-06-16 17:59:11 +00:00
Philipp Schafft
2bd71b9d01
Feature: Allow OPTIONS request for * and web requests
2018-06-16 17:59:11 +00:00
Philipp Schafft
83e8826f30
Merge branch 'ph3-update-pidfile'
2018-06-16 17:54:47 +00:00
Philipp Schafft
6f7881a875
Update: Allow update of pidfile on the fly.
2018-06-16 17:53:29 +00:00
Philipp Schafft
a2763ac9e4
Update: Improved pidfile error handling
2018-06-16 17:51:16 +00:00
Philipp Schafft
23cc8a9646
Cleanup: Mark local functions static
2018-06-16 17:51:16 +00:00
Philipp Schafft
6bc631c270
Merge branch 'ph3-initd'
2018-06-16 17:39:02 +00:00
Philipp Schafft
be0bf035c7
Update: Added comments to make code easier to understand
2018-06-16 17:38:35 +00:00