aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/websocket_loader.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move hosts module into net crate. Remove obsolete functions.Josh Matthews2017-04-061-1/+1
|
* Pass the url by value to websocket_loader::main_fetchAnthony Ramine2017-04-051-6/+6
|
* Use set_default_accept in websocket_loaderAnthony Ramine2017-04-041-17/+5
|
* Properly set Accept-Language in websocket_loaderAnthony Ramine2017-04-041-2/+2
|
* Use cookie::from_cookie_string in websocket_loaderAnthony Ramine2017-04-041-5/+2
|
* Pass http_state around in websocket_loaderAnthony Ramine2017-04-031-18/+17
|
* Move Arc out of HttpStateAnthony Ramine2017-04-031-10/+10
|
* Update Hyper and OpenSSLddh2017-03-311-2/+5
|
* Disable wss supportAnthony Ramine2017-03-311-38/+24
| | | | | | None of the existing websocket libraries are currently able to cope with openssl 0.9 and be featureful, so we are disabling wss for now to land openssl 0.9.
* Make the WebSocket handshake ourselves to ease switching libsAnthony Ramine2017-03-291-67/+554
| | | | | | We need to switch to tungstenite to finally update openssl, this commit rewrites the whole websocket infrastructure to properly follow the Fetch spec and to make switching to a different websocket library easier.
* Put websocket_loader::init first in its moduleAnthony Ramine2017-03-261-78/+78
|
* Rework replace_hosts and host_replacementAnthony Ramine2017-03-261-2/+2
| | | | They do less cloning now.
* Remove some useless thread spawning in websocket_loaderAnthony Ramine2017-03-241-23/+18
|
* Only pass the protocol in use in to establish a WS connectionAnthony Ramine2017-03-241-10/+14
|
* Properly follow the spec in WebSocket::ConstructorAnthony Ramine2017-03-241-44/+64
|
* Make ServoUrl::as_url return a &UrlAnthony Ramine2017-03-231-1/+1
|
* Removed util.Alan Jeffrey2016-12-141-3/+2
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-3/+3
|
* Reorder `use` statementsUK9922016-09-091-3/+3
|
* Test fixes:Manish Goregaokar2016-06-101-1/+1
| | | | | | | | - Hack to stop hitting unreachable on referer - add fetch_done to make sync work - Make datauris work by setting the response URI, spec bug - Allow for empty bodies - Make request bodies work (pass to http, fix fencepost in iter count)
* check close on both incoming/outgoing websocketBob2016-06-101-6/+14
| | | | | | Need to make sure close is only sent to the server once, either from a client initiation or from a server echo. This adds the sent check to both incoming and outgoing threads.
* Remove empty lines following braces.Josh Matthews2016-05-271-1/+0
|
* Upgrade to rust-url 1.0 and hyper 0.9Simon Sapin2016-04-231-2/+2
|
* Update to Rust 2016-03-05Anthony Ramine2016-03-061-1/+1
|
* Trigger WebSocket error eventSam Gibson2016-02-261-1/+5
| | | | Trigger a WebSocket error after receiving an invalid message from the server
* Update websocketSimon Sapin2016-02-191-2/+2
|
* Add support for websocket request and response cookiesRebecca2016-02-171-4/+10
| | | | Also change expected behavior to pass for all in tests/wpt/web-platform-tests/websockets/cookies
* Make closing related code more clear and more correctJames Sanders2016-01-181-5/+10
|
* task -> threadrohan.prinja2016-01-101-1/+1
|
* adding initial support for websocket subprotocol negotationjmr02015-12-171-8/+27
|
* move websocket creation to resource taskNova Fallen2015-12-081-0/+125