835a00599c 
								
							 
						 
						
							
							
								
								rollback missed dependencies and CHANGES in crates except actix-http  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								d9c415e540 
								
							 
						 
						
							
							
								
								disable weird poll test until actix-web based on actix-http:2  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								fe13789345 
								
							 
						 
						
							
							
								
								Use `Pin<Box<S>>` in `BodyStream` and `SizedStream` ( #1328 )  
							
							... 
							
							
							
							Fixes  #1321 
A better fix would be to change `MessageBody` to take a `Pin<&mut
Self>`, rather than a `Pin<&mut Self>`. This will avoid requiring the
use of `Box` for all consumers by allowing the caller to determine how
to pin the `MessageBody` implementation (e.g. via stack pinning).
However, doing so is a breaking change that will affect every user of
`MessageBody`. By pinning the inner stream ourselves, we can fix the
undefined behavior without breaking the API.
I've included @sebzim4500's reproduction case as a new test case.
However, due to the nature of undefined behavior, this could pass (and
not segfault) even if underlying issue were to regress.
Unfortunately, until rust-lang/unsafe-code-guidelines#148  is resolved,
it's not even possible to write a Miri test that will pass when the bug
is fixed.
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> 
						
							2020-01-31 09:39:34 +09:00  
				
					
						
							
							
								 
						
							
								6a0cd2dced 
								
							 
						 
						
							
							
								
								Rename HttpServer::start() to HttpServer::run()  
							
							
							
						 
						
							2019-12-22 17:12:22 +04:00  
				
					
						
							
							
								 
						
							
								c877840c07 
								
							 
						 
						
							
							
								
								rename App::register_data to App::app_data and HttpRequest::app_data returns Option<&T> instead of Option<&Data<T>>  
							
							
							
						 
						
							2019-12-20 17:13:09 +06:00  
				
					
						
							
							
								 
						
							
								20248daeda 
								
							 
						 
						
							
							
								
								Allow to set peer_addr for TestRequest  #1074  
							
							
							
						 
						
							2019-12-20 16:11:51 +06:00  
				
					
						
							
							
								 
						
							
								a08d8dab70 
								
							 
						 
						
							
							
								
								AppConfig::secure() is always false.  #1202  
							
							
							
						 
						
							2019-12-20 16:04:51 +06:00  
				
					
						
							
							
								 
						
							
								1d12ba9d5f 
								
							 
						 
						
							
							
								
								Replace brotli with brotli2  #1224  
							
							
							
						 
						
							2019-12-20 13:50:07 +06:00  
				
					
						
							
							
								 
						
							
								1732ae8c79 
								
							 
						 
						
							
							
								
								fix Bodyencoding trait usage  
							
							
							
						 
						
							2019-12-18 09:30:14 +06:00  
				
					
						
							
							
								 
						
							
								db1d6b7963 
								
							 
						 
						
							
							
								
								refactor test server impl  
							
							
							
						 
						
							2019-12-12 22:28:47 +06:00  
				
					
						
							
							
								 
						
							
								fa07415721 
								
							 
						 
						
							
							
								
								Replace flate2-xxx features with compress  
							
							
							
						 
						
							2019-12-12 15:08:08 +06:00  
				
					
						
							
							
								 
						
							
								4a8a9ef405 
								
							 
						 
						
							
							
								
								update tests and clippy warnings  
							
							
							
						 
						
							2019-12-08 12:31:16 +06:00  
				
					
						
							
							
								 
						
							
								e5f3d88a4e 
								
							 
						 
						
							
							
								
								Switch brotli compressor to rust. ( #1197 )  
							
							... 
							
							
							
							* Switch to a rustified version of brotli.
* Some memory optimizations.
* Make brotli not optional anymore. 
							
						 
						
							2019-12-07 21:55:41 +06:00  
				
					
						
							
							
								 
						
							
								f4c01384ec 
								
							 
						 
						
							
							
								
								update to latest actix-net  
							
							
							
						 
						
							2019-12-02 17:33:11 +06:00  
				
					
						
							
							
								 
						
							
								4dc31aac93 
								
							 
						 
						
							
							
								
								use actix_rt::test for test setup  
							
							
							
						 
						
							2019-11-26 11:25:50 +06:00  
				
					
						
							
							
								 
						
							
								8683ba8bb0 
								
							 
						 
						
							
							
								
								rename .to_async() to .to()  
							
							
							
						 
						
							2019-11-21 21:36:35 +06:00  
				
					
						
							
							
								 
						
							
								3127dd4db6 
								
							 
						 
						
							
							
								
								migrate actix-web to std::future  
							
							
							
						 
						
							2019-11-21 16:02:17 +06:00  
				
					
						
							
							
								 
						
							
								1ffa7d18d3 
								
							 
						 
						
							
							
								
								drop unpin constraint  
							
							
							
						 
						
							2019-11-21 16:02:17 +06:00  
				
					
						
							
							
								 
						
							
								cb19ebfe0c 
								
							 
						 
						
							
							
								
								add rustls support for actix-http and awc ( #998 )  
							
							... 
							
							
							
							* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt 
							
						 
						
							2019-07-31 13:02:56 -07:00  
				
					
						
							
							
								 
						
							
								163ca89cf4 
								
							 
						 
						
							
							
								
								more tests  
							
							
							
						 
						
							2019-04-17 17:48:25 -07:00  
				
					
						
							
							
								 
						
							
								ee33f52736 
								
							 
						 
						
							
							
								
								make extractor config type explicit  
							
							
							
						 
						
							2019-04-13 16:35:25 -07:00  
				
					
						
							
							
								 
						
							
								4f30fa9d46 
								
							 
						 
						
							
							
								
								Remove generic type for request payload, always use default  
							
							
							
						 
						
							2019-04-13 14:50:54 -07:00  
				
					
						
							
							
								 
						
							
								0a6dd0efdf 
								
							 
						 
						
							
							
								
								fix compression tests  
							
							
							
						 
						
							2019-04-08 12:48:39 -07:00  
				
					
						
							
							
								 
						
							
								3872d3ba5a 
								
							 
						 
						
							
							
								
								refactor h1 dispatcher  
							
							
							
						 
						
							2019-04-06 08:12:58 -07:00  
				
					
						
							
							
								 
						
							
								fbedaec661 
								
							 
						 
						
							
							
								
								add expect: 100-continue support  #141  
							
							
							
						 
						
							2019-04-05 16:46:44 -07:00  
				
					
						
							
							
								 
						
							
								309c480782 
								
							 
						 
						
							
							
								
								encoder sent uncompressed data before compressed  
							
							
							
						 
						
							2019-04-04 15:03:40 -07:00  
				
					
						
							
							
								 
						
							
								bca31eb7ad 
								
							 
						 
						
							
							
								
								remove Deref  
							
							
							
						 
						
							2019-04-02 13:35:01 -07:00  
				
					
						
							
							
								 
						
							
								34695f4bce 
								
							 
						 
						
							
							
								
								rename test methods; update tests  
							
							
							
						 
						
							2019-03-31 20:43:00 -07:00  
				
					
						
							
							
								 
						
							
								193f8fb2d9 
								
							 
						 
						
							
							
								
								update tests  
							
							
							
						 
						
							2019-03-29 18:51:07 -07:00  
				
					
						
							
							
								 
						
							
								00526f60dc 
								
							 
						 
						
							
							
								
								Impl BodyEncoding for Response ( #740 )  
							
							
							
						 
						
							2019-03-29 16:29:11 -07:00  
				
					
						
							
							
								 
						
							
								c126713f40 
								
							 
						 
						
							
							
								
								add rustls support to HttpServer  
							
							
							
						 
						
							2019-03-29 16:28:32 -07:00  
				
					
						
							
							
								 
						
							
								878f32c495 
								
							 
						 
						
							
							
								
								fix tests for no-default-features  
							
							
							
						 
						
							2019-03-28 14:27:07 -07:00  
				
					
						
							
							
								 
						
							
								605ce05127 
								
							 
						 
						
							
							
								
								App::enable_encoding() allows to enable compression and decompression  
							
							
							
						 
						
							2019-03-28 12:32:59 -07:00  
				
					
						
							
							
								 
						
							
								e254fe4f9c 
								
							 
						 
						
							
							
								
								allow to override response body encoding  
							
							
							
						 
						
							2019-03-27 11:29:31 -07:00  
				
					
						
							
							
								 
						
							
								1cca25c276 
								
							 
						 
						
							
							
								
								add client decompression support  
							
							
							
						 
						
							2019-03-26 20:45:00 -07:00  
				
					
						
							
							
								 
						
							
								1904b01fc0 
								
							 
						 
						
							
							
								
								add content-encoding decompression  
							
							
							
						 
						
							2019-03-26 15:14:32 -07:00  
				
					
						
							
							
								 
						
							
								50c0ddb3cd 
								
							 
						 
						
							
							
								
								update tests  
							
							
							
						 
						
							2019-03-26 12:31:51 -07:00  
				
					
						
							
							
								 
						
							
								86a21c956c 
								
							 
						 
						
							
							
								
								rename .middleware to .wrap  
							
							
							
						 
						
							2019-03-25 13:02:10 -07:00  
				
					
						
							
							
								 
						
							
								88152740c6 
								
							 
						 
						
							
							
								
								move macros tests to codegen crate  
							
							
							
						 
						
							2019-03-17 20:20:10 -07:00  
				
					
						
							
							
								 
						
							
								a07ea00cc4 
								
							 
						 
						
							
							
								
								add basic test for proc macro  
							
							
							
						 
						
							2019-03-17 13:55:03 -07:00  
				
					
						
							
							
								 
						
							
								b550f9ecf4 
								
							 
						 
						
							
							
								
								update imports  
							
							
							
						 
						
							2019-03-17 01:08:56 -07:00  
				
					
						
							
							
								 
						
							
								1f9467e880 
								
							 
						 
						
							
							
								
								update tests  
							
							
							
						 
						
							2019-03-14 12:01:35 -07:00  
				
					
						
							
							
								 
						
							
								86405cfe7a 
								
							 
						 
						
							
							
								
								more tests  
							
							
							
						 
						
							2019-03-12 22:57:09 -07:00  
				
					
						
							
							
								 
						
							
								fe22e83144 
								
							 
						 
						
							
							
								
								refactor service registration process; unify services and resources  
							
							
							
						 
						
							2019-03-06 15:47:15 -08:00  
				
					
						
							
							
								 
						
							
								8103d33270 
								
							 
						 
						
							
							
								
								use custom request for FromRequest trait  
							
							
							
						 
						
							2019-03-02 19:19:56 -08:00  
				
					
						
							
							
								 
						
							
								e6d04d24cc 
								
							 
						 
						
							
							
								
								move fs to separate crate  
							
							
							
						 
						
							2019-03-01 23:59:44 -08:00  
				
					
						
							
							
								 
						
							
								2d7293aaf8 
								
							 
						 
						
							
							
								
								copy actix-web2  
							
							
							
						 
						
							2019-03-01 22:51:32 -08:00  
				
					
						
							
							
								 
						
							
								4d45313f9d 
								
							 
						 
						
							
							
								
								Decode special characters when handling static files  
							
							
							
						 
						
							2019-01-08 10:46:58 +03:00  
				
					
						
							
							
								 
						
							
								b1635bc0e6 
								
							 
						 
						
							
							
								
								Update some dependencies ( #612 )  
							
							... 
							
							
							
							* Update rand to 0.6
* Update parking_lot to 0.7
* Update env_logger to 0.6 
							
						 
						
							2018-12-04 09:58:22 +03:00  
				
					
						
							
							
								 
						
							
								c386353337 
								
							 
						 
						
							
							
								
								decode reserved characters when extracting path with configuration ( #577 )  
							
							... 
							
							
							
							* decode reserved characters when extracting path with configuration
* remove useless clone
* add a method to get decoded parameter by name 
							
						 
						
							2018-11-24 16:54:11 +03:00