Marco van Dijk
8ac486b815
Completed new sessions system
...
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-05 03:13:52 +02:00
Marco
8b59c9abe7
Fix recstart/recstop parameters
2021-10-19 22:29:42 +02:00
Thulinma
194b6e1388
HLS/HTTP fixes:
...
- Optimize URIReader class to not close connections if not needed
- reConnector now works for non-GET requests with GET params
- Chunk sending mode correctly kept for HLS
- Removed lots of H.Clean() from HLS that weren't needed
- Improved HTTP output class request handling logic
- Removed firstRun from HTTP output class; no longer needed
2021-10-19 22:29:42 +02:00
Thulinma
9953cd6ee2
Generic HTTP handler
...
# Conflicts:
# src/output/output_mp4.cpp
# src/output/output_mp4.h
2021-10-19 22:29:41 +02:00
Thulinma
f88a8fc51c
Downloader improvements:
...
- Added metrics to Downloader::post (only at HIGH level for successful requests)
- Improved downloader timing
- Robustness improvements
2021-10-19 22:29:41 +02:00
Thulinma
37af199a1c
Added client mode support to HTTP::Websocket, added websockettest binary, added ws/wss protocol support to HTTP::URL, added support for websockets and socket overriding to HTTP::Downloader, fixed HTTP parser not handling response codes 1XX, 204 and 304 correctly.
2021-10-19 22:29:41 +02:00
Thulinma
dc0cd0d451
Fixed general output shutdown behaviour and logging on end of stream, MP4 output now correctly ends HTTP response on stream end.
...
Bugfix in HTTP::Parser when calling Chunkify before initializing
2021-10-19 22:29:41 +02:00
Thulinma
3d26741148
Socket library and Config library restructuring, improvement to UDP socket reliability
2021-10-19 22:29:41 +02:00
Phencys
2b99f2f5ea
New Meta commit
2021-10-19 22:29:40 +02:00
DDVTech
fccf66fba2
Restyle
2021-10-19 22:29:40 +02:00
Thulinma
3aeebd1a4a
Fixed HTTP::Parser support for chunked transfer and HTTP/1.0 unknown body size
2020-09-24 20:01:44 +02:00
Thulinma
f472da06f3
Fixed headerOnly flag in HTTP::Parser
2020-09-24 19:52:37 +02:00
Thulinma
158058c4d5
Fixed RTSP support in HTTP::Parser
2020-09-24 19:49:46 +02:00
Thulinma
35e3fb4bca
HTTP::Downloader::post() now supports pointers+sizes besides only std::strings.
2020-03-12 12:24:29 +01:00
Thulinma
c1c35c75f9
HTTP::Parser: Content length fix, made ::GetHeader and ::hasHeader case-insensitive, preferring identical case if it is present.
2020-03-09 19:59:40 +01:00
Ramoe
4ed5dd21e3
Added callback support to HTTP parser
2020-03-09 19:59:29 +01:00
Thulinma
793f6f7809
Split HTTP namespace up into http_parser.h and url.h, since the URL library can be useful stand-alone as well.
2020-02-28 16:39:24 +01:00
Thulinma
8ce3498269
Optimized HTTP parser to not attempt POST variable parsing on _all_ body payloads, but only POSTed payloads
2019-11-27 10:25:43 +01:00
Thulinma
cc9e970ea3
More backports from Pro edition, among which HTTPS/TLS support
2019-07-13 14:23:59 +02:00
Thulinma
917ce2d452
Fixed Downloader class progress callbacks, added HTTP::Parser progress calculation function.
2019-05-23 12:24:41 +02:00
Thulinma
999568644c
Made HTTP authentication scheme case-insensitive.
2019-03-06 11:19:57 +01:00
Thulinma
593b291e85
Fixed HTTP forwarding of wildcard streams
2018-12-04 13:10:53 +01:00
Thulinma
5ae6962233
Added support for GET variable passing in HTTP::Parser::BuildRequest()
2018-11-28 16:24:20 +01:00
Thulinma
e49f89c782
Improved URL encode/decode behaviour
2018-08-23 12:38:58 +02:00
Thulinma
e442bde5a6
Fixed RTSP auth
2018-06-28 10:49:22 +02:00
Thulinma
61d116e2f3
Added HTTP::URL::getExt function
2018-05-09 09:41:51 +02:00
Thulinma
2e65c1e431
Added HTTP::URL::getFilePath()
2018-05-08 11:35:39 +02:00
Thulinma
dd8953faec
Allow '=' character in URL encoded paths and fragments
2018-01-03 11:08:55 +01:00
Thulinma
3f3fd585c1
Fixed protocol://:port notation for hostless ports over a protocol
2017-11-28 14:47:37 +01:00
Thulinma
ce9aae3095
HTTP parser updates to Digest auth and support for getProxyUrl() for proxying, SendRequest with payload by reference.
2017-11-01 16:41:21 +01:00
Thulinma
761fbdc944
HTTP lib no longer returns empty variables in allVars()
2017-10-24 14:42:11 +02:00
Thulinma
c22a3c6e0f
Added authentication support to HTTP library
2017-10-24 13:59:06 +02:00
Thulinma
047aebdb27
URL parser fixes/improvements
2017-10-24 13:58:56 +02:00
Thulinma
74acdedeb2
Added HTTP::Downloader class
2017-07-22 18:51:11 +02:00
Thulinma
0afbaaaa41
Many improvements and fixes to HTTP::URL class
2017-07-05 13:44:41 +02:00
Thulinma
e3c01be431
Add cache control headers.
2017-03-16 10:26:07 +01:00
Thulinma
35fbafc831
Added arguments support to URL parser
2017-01-31 14:39:33 +01:00
Thulinma
224e3a3f0d
Some small DTSC and HTTP library fixes
2016-10-11 16:03:32 +02:00
Thulinma
e57cf42352
Added generic URL parsing class
2016-09-22 09:42:23 +02:00
Thulinma
6d33ba2cbd
Extracted HTTP::parseVars function from HTTP::Parser, for easier reuse.
2016-09-22 09:42:15 +02:00
Thulinma
e8e97adb49
Improved HTTP library GetHeader/GetVar functions, added hasHeader function
2016-09-02 14:48:19 +02:00
Thulinma
6816b6074c
Fixed support for non-HTTP-compliant devices pulling HTTP TS output
2016-07-26 13:20:13 +02:00
Thulinma
4c9c6fa7ba
Backported various little edits from Pro edition.
2016-06-02 14:07:21 +02:00
Thulinma
66dc2dc0cb
Encoding fixes:
...
- base64 library renamed to encode library
- Moved urlencode/urldecode functions from HTTP library to encode library
- Moved hex/unhex functions from HTTP library to encode library
- Added urldecode support to RTMP urls, fixing XSplit wildcard stream support
2016-04-14 12:03:40 +02:00
Erik Zandvliet
a39350f83e
CORS Headers
2016-01-26 14:31:09 +01:00
Erik Zandvliet
3c48a6c03c
Embedding of flash players
2016-01-26 14:14:12 +01:00
Thulinma
a3bf393bea
Added generic CORS header adder, now used in controller, HLS output and internal HTTP handler.
2015-05-12 11:23:00 +02:00
Thulinma
f9201cbf9a
Fixes to HTTP parser lib, DTSCMeta keysizes, MP4 headers and 4+GiB MP4 file output by Oswald de Bruin
2015-04-02 16:22:52 +02:00
Thulinma
f3060781a7
HTTP parser now unescapes URLs
2015-03-13 00:52:02 +01:00
Thulinma
6a6a8915d2
Merged in TS fixes/unification (and other small changes) by Wouter Spruit
2015-03-05 12:13:23 +01:00