Roger A. Light
94ef6ec7bb
Big set of function renames.
11 years ago
Roger A. Light
b598aec385
Sys -> user includes.
11 years ago
Roger A. Light
11756d24c8
Change internal funcs _foo_bar() to foo__bar().
11 years ago
Roger A. Light
dacee786be
[463000] Use own type to simplify socket handling.
...
Means that SOCKET is used as the socket type everywhere on Windows.
11 years ago
Roger A. Light
db86809ee9
Add websockets logging options.
11 years ago
Roger A. Light
6fd38b8c47
Windows fixes.
11 years ago
Roger A. Light
f781498c03
Ensure that file logging uses the correct username.
11 years ago
Roger A. Light
626857b20a
Close and reopen log_dest file on HUP.
11 years ago
Roger A. Light
153e6e6211
[452914] Drop root privileges after listeners started.
...
This means that TLS private keys can be restricted to the root user.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452914
11 years ago
Roger A. Light
db3c016fdd
Don't use bridge hash in each client.
...
Store a DB wide array of bridges. There shouldn't be many of them, so
iterating/searching isn't a problem. Saves 56 bytes in the client
struct.
11 years ago
Roger A. Light
ea8537c048
Remove unused messages from store immediately.
...
This removes the need for *store_clean*.
11 years ago
Roger A. Light
fc1e514ad4
Add log_facility for non-Windows OSs.
11 years ago
Roger A. Light
e3bf10cd9a
Change the way that new clients with match client ids are dealt with.
...
This change means that the connection isn't swapped from new context to
old, which makes dealing with websockets lots easier. It does require
that clients storing a list of their subscriptons.
11 years ago
Roger A. Light
dcd469c177
Use own linked list for storing disused contexts for freeing.
...
Seemed to be a problem with getting it to work under a hash and there
isn't really any need for a hash.
11 years ago
Roger A. Light
58c857c473
Fix for windows.
11 years ago
Roger A. Light
3d58f5ed82
Some minor memory leak fixes.
11 years ago
Roger A. Light
7b1ee68ef1
Remove compilation warnings for various configurations.
11 years ago
Roger A. Light
b01b0b581f
Produce error if unable to create WS listener.
11 years ago
Roger A. Light
84619c296d
Fix building for WITH_BRIDGE=no.
11 years ago
Roger A. Light
d75903b0ae
Fix reconnect support for websockets.
11 years ago
Roger A. Light
15efd2d072
Various memory fixes.
11 years ago
Roger A. Light
19056e6d4c
Removed $SYS/broker/changeset.
11 years ago
Roger A. Light
764b7e0a91
Use hash functions to store client data.
11 years ago
Roger A. Light
c8a0786dea
TLS websockets support.
11 years ago
Roger A. Light
ef4b7a52a0
Fix missing headers for WITH_TLS=no.
11 years ago
Roger A. Light
7316742cf4
Config support for websockets.
12 years ago
Roger Light
0364bd1be7
Initial contribution.
12 years ago