diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2020-05-31 12:00:55 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2020-06-04 11:38:38 +0800 |
commit | c1b76533fa5c36abc894e84c2b2746fca7afe2e1 (patch) | |
tree | 6402ffda327eb5f596db52c1da88853c349d4c46 /components/script/task.rs | |
parent | ad4dea7d84bc94c6d31f4ac4f7f7bd8aae895a8f (diff) | |
download | servo-c1b76533fa5c36abc894e84c2b2746fca7afe2e1.tar.gz servo-c1b76533fa5c36abc894e84c2b2746fca7afe2e1.zip |
partially integrate streaming request bodies with http re-direct
Diffstat (limited to 'components/script/task.rs')
-rw-r--r-- | components/script/task.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/task.rs b/components/script/task.rs index 3508a790780..27600fdf8d7 100644 --- a/components/script/task.rs +++ b/components/script/task.rs @@ -67,6 +67,7 @@ impl fmt::Debug for dyn TaskBox { } /// Encapsulated state required to create cancellable tasks from non-script threads. +#[derive(Clone)] pub struct TaskCanceller { pub cancelled: Option<Arc<AtomicBool>>, } |