Commit Graph

48 Commits (e3de4bc46e0332050f3fd296202abe94d13c20a5)

Author SHA1 Message Date
Sean Bright 5ebc94da02 res_http_websocket: Don't leak memory on read failure
7 years ago
Alexander Traud 9865e689d2 General: Avoid implicit conversion to char when changes value to negative.
7 years ago
Sean Bright f726f11974 utils: Add convenience function for setting fd flags
8 years ago
Joshua Colp c2dddb001a pjsip / hep: Provide correct local address for Websockets.
8 years ago
Corey Farrell 73a5e9f0e9 Prevent unload of modules which implement an Optional API.
8 years ago
George Joseph f882ca2572 modules: change module LOAD_FAILUREs to LOAD_DECLINES
8 years ago
Matt Jordan e79acaeb75 res_http_websocket: Increase the buffer size for non-LOW_MEMORY systems
9 years ago
Joshua Colp cb56ef8069 res_http_websocket: Make core supported.
9 years ago
Dade Brandon 136c537695 res_http_websocket.c: prevent avoidable disconnections caused by write errors
10 years ago
Richard Mudgett 77518d5434 res_http_websocket.c: Fix some off nominal path cleanup.
10 years ago
Joshua Colp e18c300550 res_http_websocket: When shutting down a session don't close closed socket
10 years ago
Joshua Colp b4e9416138 res_http_websocket: Forcefully terminate on write errors.
10 years ago
David M. Lee 26f0559a94 Replace htobe64 with htonll
10 years ago
Mark Michelson 27dc2094e9 res_http_websocket: Debug write lengths.
10 years ago
Mark Michelson 39cc28f6ea res_http_websocket: Avoid passing strlen() to ast_websocket_write().
10 years ago
Mark Michelson 48698a5e21 res_http_websocket: Properly encode 64 bit payload
10 years ago
Joshua Colp 55137c3d12 res/res_http_websocket: Don't send HTTP response fragmented.
10 years ago
Matt Jordan 31cc24aad6 res/res_http_websocket: Add a pre-session established callback
10 years ago
David M. Lee 43a3e80be1 Increase WebSocket frame size and improve large read handling
10 years ago
Kevin Harwell 72e5ba2ce8 res_http_websocket: websocket write timeout fails to fully disconnect
10 years ago
Richard Mudgett 4b054bdc6d res_http_websocket.c: Fix incorrect use of sizeof in ast_websocket_write().
11 years ago
Joshua Colp fb768ec33a res_http_websocket: Fix crash due to double freeing memory when receiving a payload length of zero.
11 years ago
Corey Farrell 3e29fa3686 res_http_websockets: Fix extra unref of module
11 years ago
Matthew Jordan b23580afe6 res/res_http_websocket: Fix minor nits found by wdoekes on r409681
11 years ago
Joshua Colp 66fb08e26d res_http_websocket: Include query parameters in client connection requests.
11 years ago
Mark Michelson dcf1ad14da Add module support level to ast_module_info structure. Print it in CLI "module show" .
11 years ago
Richard Mudgett dbec5e0d8d HTTP: Add persistent connection support.
11 years ago
Matthew Jordan 365ae7523b res_http_websocket: Close websocket correctly and use careful fwrite
11 years ago
Kevin Harwell bd0aa4fb04 res_http_websocket: read/write string fixup
11 years ago
Richard Mudgett 4ca5745dbe AST-2014-007: Fix DOS by consuming the number of allowed HTTP connections.
11 years ago
Kevin Harwell e763d70470 res_http_websocket: Create a websocket client
11 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
11 years ago
Kinsey Moore a7fc217837 Websocket: Add session locking and delay close
11 years ago
Moises Silva bcb0f94604 Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format for uint64_t
11 years ago
Moises Silva e4e5cfa9b8 Fix WebRTC over WSS not working
11 years ago
David M. Lee f56796a539 ARI: Fix WebSocket response when subprotocol isn't specified
12 years ago
David M. Lee 9bed50db41 optional_api: Fix linking problems between modules that export global symbols
12 years ago
David M. Lee 3c86832f9f Fixed null dereference when WebSocket subprotocol isn't specified
12 years ago
David M. Lee 80dd0229f1 Fixed null dereference when WebSocket protocol is omitted
12 years ago
David M. Lee dcf03554a0 Shuffle RESTful URL's around.
12 years ago
David M. Lee 1e9faaf78a Fix segfault for certain invalid WebSocket input.
12 years ago
David M. Lee 9c696e665f Allow WebSocket connections on more URL's
12 years ago
Matthew Jordan a5df2542c3 Don't attempt a websocket protocol removal if res_http_websocket isn't there
12 years ago
David M. Lee cc01a79463 Added missing newlines to websocket ast_logs.
13 years ago
Joshua Colp 9f55e5e928 Make res_http_websocket an optional dependency on supported platforms for chan_sip.
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Joshua Colp e938737570 Add support for SIP over WebSocket.
13 years ago
Joshua Colp 380c7c5c39 Add res_http_websocket module which implements the WebSocket protocol according to RFC 6455.
13 years ago