blob: 57d9ac6592322e4e61f1d65948989a87259f51b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
This is a very basic HTTP server, designed for real-time server sent
event streams. BEWARE: the server offers little to no security
features.
The server supports:
- the standard HTTP "GET" method for retrieval of events.
- a custom "UPDATE" method to send events.
- HTTP 1.0 and 1.1 connections. HTTP 1.1 uses chunked mode.
The server is hard-coded to listen on TCP *:1180.
Design
------
The design concept is:
public ------ apache reverse ----- event ------ data gathering
internet proxy httpd server application
The reverse proxy is responsible for controlling public access to the
event streams served by the mini-httpd event server; the event server
itself should not be publically accessible.
|