Rémi Denis-Courmont
d1af4dc515
Sync Multipart JPEG content-type with the one used in the MPJEG muxer
18 years ago
Rémi Denis-Courmont
99fab9089e
Don't include config.h from the headers - refs #297 .
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
18 years ago
Rémi Denis-Courmont
cc227c7270
Set non-blocking mode on accepted sockets
18 years ago
Rémi Denis-Courmont
968f7ba0c2
Remoev reverse abstraction
18 years ago
Ilkka Ollakka
b1a9a82e38
small fix for http-streaming, don't set b_die to true in beginning if
19 years ago
Rémi Denis-Courmont
7dfd1a1d1e
Fix format string injection in the Connection field for HTTP-served files
(affects HTTP interface and LUA plus HTTP export for DVB and RTP)
19 years ago
Rémi Denis-Courmont
949dac1160
syntax error
19 years ago
Rémi Denis-Courmont
681637abe8
Add an error message
19 years ago
Rémi Denis-Courmont
e59bea7b82
Fix warnings
19 years ago
Rémi Denis-Courmont
3945813ee2
Corner case race condition in the waitpipe
19 years ago
Antoine Cellerier
4f2ae2af08
Return the p_sys pointer in the httpd_{Handler,File}Delete functions (in case you need it to clean up stuff).
19 years ago
Rémi Denis-Courmont
36da998fbe
We use error code 456
19 years ago
Rémi Denis-Courmont
c887fde77c
Cleanup previous commit
19 years ago
Rémi Denis-Courmont
e8d03d1408
Removed b_die arbitrary timer from httpd.
19 years ago
Rémi Denis-Courmont
29cd2f9042
Fix up HTTP/RTSP version detection:
- ignore HTTP/0.9 clients instead of deadlocking the connection
- ignore unknown protocol
- reject incompatible HTTP & RTSP protocol versions
(HTTP/2.0 does not exist but RTSP/2.0 is currently draft)
19 years ago
Rémi Denis-Courmont
0377fc9c0a
Partial fix to response protocol version detection
19 years ago
Rémi Denis-Courmont
918624d0f5
Ignore leading "white" characters in HTTP and RTSP requests
19 years ago
Rémi Denis-Courmont
8a0ab9f20b
Add HTTP 505 error
19 years ago
Rémi Denis-Courmont
4ff9961862
Fix the most common strerror() usages (threads, network, input) - refs #1297
19 years ago
Rémi Denis-Courmont
44cc227393
Add an assertion
19 years ago
Rémi Denis-Courmont
2cbdbc878d
Don't crash if a client sends an overly large header
19 years ago
Rémi Denis-Courmont
05a66223c4
Fixes
19 years ago
Rémi Denis-Courmont
b1e0a5cb76
Handle HTTP OPTIONS
19 years ago
Rémi Denis-Courmont
50e9af2047
Don't claim to support HTTP 1.x where x > 1
19 years ago
Rémi Denis-Courmont
256a65be95
Implement dummy RTSP GET_PARAMETER so that clients can "ping"
19 years ago
Rémi Denis-Courmont
653329ea28
Add some const qualifiers
19 years ago
Rémi Denis-Courmont
4d9440ec05
Implement the Timestamp header
19 years ago
Rémi Denis-Courmont
6c808bdb32
Fix Require header support
19 years ago
Rémi Denis-Courmont
50fc1704b2
Remove extra capitals
19 years ago
Rémi Denis-Courmont
b60e4d344b
Make more DSO-friendly, add some error values that I am going to use
19 years ago
Rémi Denis-Courmont
331df5b8ed
Fix previous commit
19 years ago
Rémi Denis-Courmont
a92c4fff8f
- Do not parse CSeq; do not assume it fits in an integer
- Factorize some code
19 years ago
Rémi Denis-Courmont
649ddb6f64
Centralize HTTP/RTSP error text
19 years ago
Rémi Denis-Courmont
bee10796b3
Use fixed size string for extension. This is more DSO friendly
19 years ago
Rémi Denis-Courmont
cc3bd152f5
Remember not to include anything before vlc/vlc.h
(which includes config.h which defines the platform feature macros)
Also remember stdio, string and stdlib are included implicitly
19 years ago
Rémi Denis-Courmont
4a623b2496
Fix memory handling
19 years ago
Rémi Denis-Courmont
3ea2708daa
Remove redumdant parameter to vlc_global
19 years ago
Rémi Denis-Courmont
9025fab993
Use vlc_object_kill(). Needs triple checking.
This also seems to make the pre-existing Qt4 crash more obvious.
19 years ago
Rémi Denis-Courmont
0e39834a0a
Compiler warnings rampage
19 years ago
Rémi Denis-Courmont
14442b97d8
Use vlc_b64_decode instead of local implementation
19 years ago
Rémi Denis-Courmont
cf8e72e9b3
Fix assertion failure
19 years ago
Laurent Aimar
db6152415c
Fixed statistic counter leaks per host.
19 years ago
Laurent Aimar
617726b6c7
Rework a bit http socket handling to avoid uninitialized variable access.
19 years ago
Laurent Aimar
e732cff5c5
Fixed httpd stack corruption.
(Fixed 'assert (pufd < ufd + (sizeof (ufd) / sizeof (ufd[0])))' reported
by xxcv)
19 years ago
Rémi Denis-Courmont
f5305fef46
- Do not store HTTPd clients addresses (unused anyway)
- Use net_Accept()
19 years ago
Rémi Denis-Courmont
52b0f7ea4e
Another mdate() caching optimization
19 years ago
Rémi Denis-Courmont
51d5c44da5
- Use poll() instead of select to allow breaking the FD_SETSIZE barrier
- Poll the system clock only once per loop (yes, it DOES matter),
- Fix rare bug with TLS and multiple listening sockets,
- Do not try to read/write to client socket with no pending events.
...and of course introduce dozens of new bugs.
This SHOULD speed httpd up a bit.
19 years ago
Clément Stenac
eedba76b51
A bit of cleanup here and there
20 years ago
Rémi Denis-Courmont
2fac2b1d07
Hide httpd_t and httpd_host_t within httpd.c
20 years ago
Rémi Denis-Courmont
5d10806a80
Hide some httpd structures from modules
20 years ago