Philipp Schafft
e4a483d71e
Cleanup: Removed _mangle()
2018-10-12 10:12:56 +00:00
Marvin Scholz
d8885f5668
Make common a separate library
2018-10-11 15:43:00 +02: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
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
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
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
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
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
Philipp Schafft
7572febbd8
expose converting of method names to enum values as httpp_str_to_method()
...
svn path=/icecast/trunk/httpp/; revision=19348
2014-11-22 04:44:47 +00:00
Philipp Schafft
c5f549f1aa
Changed ABI a bit: updated httpp_request_type_e-type. To avoid any problems do a complet rebuild of your projects. Thank you.
...
svn path=/icecast/trunk/httpp/; revision=19347
2014-11-22 04:06:26 +00:00
Philipp Schafft
b5fca17bfb
fixing some compiler warnings
...
svn path=/icecast/trunk/httpp/; revision=19281
2014-11-07 23:14:00 +00:00
Philipp Schafft
5983b0f6ba
commited support for HTTP PUT, See #1812
...
svn path=/icecast/trunk/httpp/; revision=18452
2012-07-16 16:05:21 +00:00
Karl Heyes
8e7def3ad4
minor cleanups.
...
svn path=/icecast/trunk/httpp/; revision=16213
2009-07-07 16:37:31 +00:00
Karl Heyes
98546247b1
const updates, again no functional change
...
svn path=/icecast/trunk/httpp/; revision=13560
2007-08-16 22:52:24 +00:00
Karl Heyes
792df7892f
store the original full uri if there are query parameters. small cleanup to
...
prototype definitions
svn path=/icecast/trunk/httpp/; revision=9453
2005-06-15 02:32:26 +00:00
Karl Heyes
431e4d1ac2
simple sanity check
...
svn path=/icecast/trunk/httpp/; revision=9126
2005-04-08 03:48:08 +00:00
oddsock
cec0361503
removal of old and unused code
...
add '+' to those fields that are url decoded.
svn path=/icecast/trunk/httpp/; revision=8346
2004-12-07 22:42:50 +00:00
Karl Heyes
d85ee1db3f
add extra boundary checks when splitting headers
...
svn path=/icecast/trunk/httpp/; revision=7507
2004-08-10 00:03:14 +00:00
brendan
9f9c163bb2
Move .cvsignore into svn:ignore
...
svn path=/icecast/trunk/avl/; revision=7021
2004-07-06 19:22:26 +00:00
Karl Heyes
f17f4c2e6b
minor build fix
...
svn path=/icecast/trunk/httpp/; revision=6874
2004-06-25 19:39:12 +00:00
Michael Smith
d5bc449998
Add Copyright notice to each source file, as requested by debian.
...
svn path=/trunk/httpp/; revision=5792
2004-01-29 01:02:12 +00:00
brendan
533772ff76
httpp goes through the rinse cycle
...
svn path=/trunk/httpp/; revision=5085
2003-07-07 01:49:27 +00:00
Karl Heyes
ec380c4565
ermmm, let's use the right operator.
...
svn path=/trunk/httpp/; revision=4963
2003-06-18 15:52:25 +00:00
Karl Heyes
5408558756
minor cleanup, removes compiler warning, makes it static, and doesn't
...
re-evaluate string length each time.
svn path=/trunk/httpp/; revision=4961
2003-06-18 11:13:11 +00:00
brendan
c8d79db03a
gcc 3.3 warns: dereferencing type-punned pointer will break strict-aliasing rules
...
svn path=/trunk/httpp/; revision=4906
2003-06-09 22:30:09 +00:00
brendan
ced88f98a8
Karl's patch for freebsd, minus the sys/select.h test which breaks on OS X.
...
Also enables IPV6 in libshout!
svn path=/trunk/httpp/; revision=4884
2003-06-05 17:09:12 +00:00
Michael Smith
d0cf9fe000
Brendan was getting pissed off about inconsistent indentation styles.
...
Convert all tabs to 4 spaces. All code must now use 4 space indents.
svn path=/trunk/avl/; revision=4492
2003-03-15 02:10:19 +00:00
Karl Heyes
a420bd0b4f
reduce include file namespace clutter for libshout and the associated
...
smaller libs.
svn path=/trunk/avl/; revision=4456
2003-03-09 22:56:46 +00:00
Karl Heyes
2116bd0d5e
include the automake config.h file if the application defines one
...
svn path=/trunk/avl/; revision=4450
2003-03-08 16:05:38 +00:00
Michael Smith
cd0f3c47e0
Set another parameter in the icy protocol parse that logging expects
...
svn path=/trunk/httpp/; revision=4446
2003-03-08 05:27:17 +00:00
Michael Smith
8dec7ae9d5
Added support for shoutcast login protocol (ewww...)
...
svn path=/trunk/httpp/; revision=4444
2003-03-08 04:57:02 +00:00
Karl Heyes
f5c688d43b
more on the XIPH_CFLAGS. For the smaller libs like thread etc put any
...
passed flags into the compiling rules. Also configure in libshout now
sets up the XIPH_CFLAGS
svn path=/trunk/avl/; revision=4439
2003-03-08 00:46:59 +00:00