aboutsummaryrefslogtreecommitdiffstats
path: root/components/net
Commit message (Collapse)AuthorAgeFilesLines
* Update tungsteniteFabrice Desré2023-05-202-63/+46
|
* Auto merge of #29748 - Loirooriol:sync, r=mrobinsonbors-servo2023-05-191-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport several style changes from Gecko <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * Further changes required by ServoOriol Brufau2023-05-191-0/+2
| |
* | Auto merge of #29752 - mrobinson:fix-29741-by-extending-request-builder, ↵bors-servo2023-05-181-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=mukilan Fix 29741 by extending request builder Extend RequestBuilder to include ResponseTainting and used said functionality to set response_tainting to `::CorsTainting` in `cors_preflight_fetch()`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #29741 <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * | use response tainting::cors in cors preflightIver Småge men bærbar2023-05-181-0/+1
| |/
* / Start the transition to workspace dependenciesMartin Robinson2023-05-171-22/+22
|/ | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Make sender and receiver name more coherentatbrakhi2023-05-081-8/+8
|
* Fix concept-header-list-get-decode-split2shiori172023-03-261-2/+2
|
* Fix return value of concept-header-list-get to Option<Vec<u8>>2shiori172023-03-261-13/+17
|
* Remove net from dependencies2shiori172023-03-201-16/+1
|
* Implement concept-header-list-sort-and-combine2shiori172023-03-061-1/+1
|
* Switch to the sha2 crate for SRI digests.Fabrice Desré2023-02-242-10/+14
| | | | This removes one (simple) use of OpenSSL
* Fix intermittency when loading poster imagesMartin Robinson2023-01-111-0/+2
| | | | | | | | | | | | | | | | | Wait until a poster image is cached to in order to unblock document load. If not, the document may continue loading before the image is ready to use, leading to intermittency in test output. Now load is unblocked when getting the ImageResponse from the cache, which allows the code to properly unblock the load when the entire load fails or succeeds. This reveals several false passes in the `object-view-box` test suite which were very flaky. Fixes #29204. Fixes #29188. Fixes #29179. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* components/net: Fix a double-lock in image_cacheBurtonQin2022-10-101-15/+27
|
* Update cookie/hyper_serde.Josh Matthews2022-04-011-2/+2
|
* Upgrade HyperNaveen Gattu2022-01-1617-353/+416
|
* Fix warnings.Josh Matthews2022-01-033-5/+3
|
* Update async-tungestenite.Josh Matthews2022-01-031-2/+2
|
* Non-blocking network IONaveen Gattu2021-12-239-344/+417
|
* more conciseNaveen Gattu2021-11-291-7/+5
|
* if let destructuringNaveen Gattu2021-11-291-7/+9
|
* more conciseNaveen Gattu2021-11-281-4/+3
|
* preserve fragmentNaveen Gattu2021-11-281-2/+9
|
* Update nightly rustc.Josh Matthews2021-11-011-1/+1
|
* Auto merge of #28528 - teymour-aldridge:shorthand, r=jdmbors-servo2021-06-251-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use struct shorthand initialization. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they don't really change any logic <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * test tidyteymour-aldridge2021-06-251-1/+1
| |
| * Use struct shorthand initialization.teymour-aldridge2021-06-251-2/+2
| |
* | Bump `time` to latest `v0.1.x` version.teymour-aldridge2021-06-251-2/+2
|/
* Auto merge of #28420 - dominiccooney:rlsnightly, r=jdmbors-servo2021-06-171-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update toolchain to nightly-2021-05-18 The nightly-2021-03-12 toolchain doesn't have RLS on Windows. This breaks code completion in Visual Studio Code because the rust plugin picks up the project toolchain. RLS is available in all tier one platforms in nightly-2021-05-18 per: https://rust-lang.github.io/rustup-components-history/ Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com> <!-- Please describe your changes on the following line: --> Update toolchain to nightly-2021-05-18 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X ] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors (note, except tabs/spaces issue in an unrelated file... happy to fix in this PR) - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because changing the toolchain, covered by existing tests <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * `mach fmt` after updating toolchain to 2021-05-18Dominic Cooney2021-05-221-2/+2
| | | | | | | | Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>
* | Fix tidy error.Josh Matthews2021-05-281-1/+0
| |
* | Disable warnings on windows.Josh Matthews2021-05-281-0/+2
| |
* | Disable fetch tests on windows.Josh Matthews2021-05-271-2/+1
| |
* | Don't error on unused imports.Josh Matthews2021-05-271-0/+2
| |
* | Disable more unit tests for windows.Josh Matthews2021-05-271-0/+2
| |
* | Disable all http_loader unit tests on windows.Josh Matthews2021-05-271-0/+2
| |
* | Disable intermittent unit test.Josh Matthews2021-05-261-0/+1
| |
* | Disable another intermittent test on windows.Josh Matthews2021-05-221-0/+1
| |
* | Disable intermittent test on windows.Josh Matthews2021-05-221-0/+1
|/
* Block port 10080Vincent Ricard2021-04-161-2/+2
| | | | See https://github.com/whatwg/fetch/issues/1191
* Compile fix.Josh Matthews2021-04-071-0/+2
|
* Try to work around windows unit test failures.Josh Matthews2021-04-071-5/+2
|
* Disasable net unit test on windows.Josh Matthews2021-04-041-0/+1
|
* Add port blocking for tftp, netbios-ns, snmp, rtsp, h323gatestat, ↵Vincent Ricard2021-03-291-5/+6
| | | | | | h323hostcall, pptp, sane-port Spec update: https://github.com/whatwg/fetch/pull/1148
* Fix some 'nosniff' testsVincent Ricard2021-03-083-12/+182
|
* Fix warnings introduced in newer Rust NightlySimon Sapin2021-02-251-1/+1
| | | | | | | | | | | | This does not (yet) upgrade ./rust-toolchain The warnings: * dead_code "field is never read" * redundant_semicolons "unnecessary trailing semicolon" * non_fmt_panic "panic message is not a string literal, this is no longer accepted in Rust 2021" * unstable_name_collisions "a method with this name may be added to the standard library in the future" * legacy_derive_helpers "derive helper attribute is used before it is introduced" https://github.com/rust-lang/rust/issues/79202
* Auto merge of #27738 - ghostd:update-bad-ports, r=jdmbors-servo2020-11-191-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the "bad ports" list https://github.com/whatwg/fetch/issues/1108 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * Update the "bad ports" listVincent Ricard2020-11-041-2/+2
| | | | | | | | https://github.com/whatwg/fetch/issues/1108
* | Set CORS preflight requests' `mode` to `cors`Vincent Ricard2020-10-301-62/+60
|/
* Make reload button clear the network cache.Josh Matthews2020-07-272-0/+8
|