Roger A. Light
|
aa2e6a8d29
|
Fix possible NULL derefence.
|
11 years ago |
Roger A. Light
|
db9d6b9f3d
|
Fix potential memory leak from context->current_out_packet.
|
11 years ago |
Roger A. Light
|
154b2fc264
|
Must remove memory reference here.
|
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
|
2a922e9f06
|
Fix verbose logging on reload.
|
11 years ago |
Roger A. Light
|
e561b5ea08
|
Windows fix.
|
11 years ago |
Roger A. Light
|
7fb629d818
|
Fix potential leak.
|
11 years ago |
Roger A. Light
|
58c857c473
|
Fix for windows.
|
11 years ago |
Roger A. Light
|
58a7565a2b
|
Check http request directories on Windows.
|
11 years ago |
Roger A. Light
|
99779c03c7
|
Fix reporting of local bridge status.
|
11 years ago |
Roger A. Light
|
65526d2746
|
No need to call lws_partial_buffered() here. It is never set at the start of a callback.
|
11 years ago |
Roger A. Light
|
f61a8cbf74
|
Get address for websockets clients.
|
11 years ago |
Roger A. Light
|
91fa1c9625
|
Disable ipv6 websockets.
|
11 years ago |
Roger A. Light
|
2bf7a8fb13
|
Prevent NULL derefencing and accessing of freed memory.
|
11 years ago |
Roger A. Light
|
3d58f5ed82
|
Some minor memory leak fixes.
|
11 years ago |
Roger A. Light
|
1fb5a3edc6
|
Use hash counts to calculate numbers of clients.
|
11 years ago |
Roger A. Light
|
3eead8c507
|
retained_ and subscription_count only used with sys tree.
|
11 years ago |
Roger A. Light
|
7b1ee68ef1
|
Remove compilation warnings for various configurations.
|
11 years ago |
Roger A. Light
|
dd36c4b273
|
Don't attempt to find real path of NULL.
|
11 years ago |
Roger A. Light
|
9286da192e
|
Fix unused var.
|
11 years ago |
Roger A. Light
|
f9951595c8
|
Fix missing headers.
|
11 years ago |
Roger A. Light
|
06bec1083d
|
Expose mosquitto_pub_topic_check() and mosquitto_sub_topic_check().
|
11 years ago |
Roger A. Light
|
3c5ca95c81
|
File serving from http on *nix.
|
11 years ago |
Roger A. Light
|
b84ca80052
|
Skeleton callback_http() function.
|
11 years ago |
Roger A. Light
|
f500ff78b8
|
no_buffer_all_partial_tx not in latest LWS.
|
11 years ago |
Roger A. Light
|
c4e7233159
|
Add http_dir option (not yet used).
|
11 years ago |
Roger A. Light
|
d75473ec63
|
Fix possible memory leaks.
Thanks to Johann Haarhoff.
|
11 years ago |
Roger A. Light
|
b01b0b581f
|
Produce error if unable to create WS listener.
|
11 years ago |
Roger A. Light
|
ef573448f4
|
Another bridge notification fix.
|
11 years ago |
Roger A. Light
|
1fdc4ceee6
|
Check expiration every hour regardless of the duration.
|
11 years ago |
Roger A. Light
|
76724c790e
|
Disconnect expired clients correctly.
|
11 years ago |
Roger A. Light
|
580cd722dc
|
Remote/local bridge fixes.
|
11 years ago |
Roger A. Light
|
b937a043e7
|
Rename remote bridge identifiers to remote_.
|
11 years ago |
Roger A. Light
|
950db12c74
|
Don't free local bridge clients on disconnect.
|
11 years ago |
Roger A. Light
|
6af0c236e8
|
Each listener requires its own copy of the protocols struct.
|
11 years ago |
Roger A. Light
|
8b2effcc36
|
Don't check for POLLERR or POLLNVAL.
Errors will be caught when trying to read anyway, and doing these checks
here means that sockets may be closed prematurely.
|
11 years ago |
Roger A. Light
|
0ff0cfb3d3
|
Need to include bridges here.
|
11 years ago |
Roger A. Light
|
9bb336bbf3
|
Use do_disconnect() for websockets.
|
11 years ago |
Roger A. Light
|
95a4ec431d
|
Don't try to disconnect twice.
|
11 years ago |
Roger A. Light
|
bb1a69b7d7
|
Disconnect clients consistently.
|
11 years ago |
Roger A. Light
|
22094aa00d
|
Memory checks.
|
11 years ago |
Roger A. Light
|
3fd1dc477f
|
Fix defects identified by Coverity.
|
11 years ago |
Roger A. Light
|
5ac576f2ab
|
Request write callback if there is still more to send.
|
11 years ago |
Roger A. Light
|
405b7f0aab
|
Don't free here, leads to potential double free.
|
11 years ago |
Roger A. Light
|
0856e9519d
|
Need to assign ws_context here.
|
11 years ago |
Roger A. Light
|
399453837d
|
Log websockets listeners being opened.
|
11 years ago |
Roger A. Light
|
13f94f3511
|
More reconnect fixes.
|
11 years ago |
Roger A. Light
|
2b300b718b
|
Fix double free for websockets with bad auth.
|
11 years ago |
Roger A. Light
|
0fb064e0b4
|
Fix clean session for reconnecting clients.
|
11 years ago |
Roger A. Light
|
fe5dba5887
|
Add use_username_as_clientid.
|
11 years ago |