servo/components/net_traits
CYBAI 63aab1b355 Avoid sending a new chunk when the body is already done
As discussed in https://github.com/servo/servo/issues/26807#issuecomment-640151804, we'd like to
add a new flag, `in_memory_done`, to `TransmitBodyConnectHandler` so
that we can correctly finish and drop the sender correctly.

When we send the bytes, we will mark the body as done and we can
recognize it's already done in next tick so that we can send a Done
request to finish the sender.

Also, when there comes a redirect request, it will go to `re-extract`
route, we can set the `done` flag to `false` which means we won't
stop the IPC routers yet. Then, if the re-extract sent its bytes, we
will be marked as done again so that we can finish with stopping the IPC
routes when Chunk request comes.
2020-06-13 21:22:09 +09:00
..
image Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
tests Minor assert message edits for consistency 2019-10-20 18:03:18 -07:00
blob_url_store.rs check same-origin and url against the blob beign revoked 2019-11-18 22:44:07 +09:00
Cargo.toml net: Add option to temporarily accept certs that failed the handshake. 2020-06-09 15:03:18 -04:00
filemanager_thread.rs add a fetch token for blob urls 2020-02-21 14:26:45 +08:00
image_cache.rs Don't send a load event when a loaded image is actually the placeholder 2020-05-08 19:15:24 +02:00
lib.rs net: Add option to temporarily accept certs that failed the handshake. 2020-06-09 15:03:18 -04:00
pub_domains.rs Fix some warnings 2018-12-28 15:31:08 +01:00
quality.rs Fix some warnings 2018-12-28 15:31:08 +01:00
request.rs Avoid sending a new chunk when the body is already done 2020-06-13 21:22:09 +09:00
response.rs Implement cross origin resource policy check 2020-05-08 19:15:24 +02:00
storage_thread.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00