1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 09:59:21 +02:00

handle panics in worker threads

This commit is contained in:
Nikolay Kim
2018-03-07 21:10:53 -08:00
parent 824244622f
commit 6c0fb3a7d2
3 changed files with 133 additions and 32 deletions

View File

@ -322,10 +322,8 @@ fn test_body_streaming_implicit() {
assert_eq!(bytes, Bytes::from_static(STR.as_ref()));
}
extern crate env_logger;
#[test]
fn test_client_cookie_handling() {
env_logger::init();
use actix_web::header::Cookie;
fn err() -> Error {
use std::io::{ErrorKind, Error as IoError};