Philipp Schafft
b9ff70b589
Fix: Only allow access to "*" for OPTIONS
2018-06-20 06:34:00 +00:00
Philipp Schafft
4a10d7e744
Merge branch 'ph3-body'
2018-06-20 06:31:13 +00:00
Philipp Schafft
a53270065b
Update: Converted <form>s from GET to POST
2018-06-19 13:44:07 +00:00
Philipp Schafft
7e76986741
Update: Added a fast lane for client requests with a small body
2018-06-19 13:44:07 +00:00
Philipp Schafft
59cf2ff426
Cleanup: Removed now useless start-of-stream passing code (as much as I found. There is more)
2018-06-19 13:44:07 +00:00
Philipp Schafft
b8ceef2425
Fix: Fixed some compiler warnings
2018-06-19 13:44:07 +00:00
Philipp Schafft
c3afdff5fb
Feature: Allow POST for web requests
2018-06-19 13:44:07 +00:00
Philipp Schafft
a466900ae1
Feature: Allow POST for admin requests
2018-06-19 13:44:07 +00:00
Philipp Schafft
44ebc3cf22
Update: Added protection against re-queueing a client for reading body that has been queued once already
2018-06-19 13:44:07 +00:00
Philipp Schafft
19dda79146
Update: Added timeout and size limit to client body queue handling
2018-06-19 13:44:07 +00:00
Philipp Schafft
669707d312
Update: Added basic client body slurping
2018-06-19 13:44:07 +00:00
Philipp Schafft
bde88f82ae
Update: Added debug level logging for client slurping
2018-06-19 13:44:07 +00:00
Philipp Schafft
e9624ef523
Cleanup: Removed unused structure
2018-06-19 13:44:07 +00:00
Philipp Schafft
1c7329cfbf
Feature: Added some client request body slurping helpers
2018-06-19 13:44:07 +00:00
Philipp Schafft
b0c7da36a0
Fix: Fixed HTTP/1.1 pipelineing
2018-06-19 13:44:07 +00:00
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