903ae47baa 
								
							 
						 
						
							
							
								
								dev-deps: Update env_logger to 0.7  
							
							
							
						 
						
							2020-02-27 11:08:45 +09:00  
				
					
						
							
							
								 
						
							
								95c18dbdf3 
								
							 
						 
						
							
							
								
								Merge pull request  #1367  from actix/msg-body  
							
							... 
							
							
							
							Merge `MessageBody` improvements 
							
						 
						
							2020-02-27 10:42:14 +09:00  
				
					
						
							
							
								 
						
							
								d3ccf46e92 
								
							 
						 
						
							
							
								
								Clean-up metadata  
							
							
							
						 
						
							2020-02-27 09:53:27 +09:00  
				
					
						
							
							
								 
						
							
								cd1765035c 
								
							 
						 
						
							
							
								
								Avoid re-definition  
							
							
							
						 
						
							2020-02-27 09:42:32 +09:00  
				
					
						
							
							
								 
						
							
								ea28219d0f 
								
							 
						 
						
							
							
								
								reenable actix-http test-ws  
							
							
							
						 
						
							2020-02-27 09:42:32 +09:00  
				
					
						
							
							
								 
						
							
								77058ef779 
								
							 
						 
						
							
							
								
								adopt MessageBody Pin changes to actix-web root  
							
							
							
						 
						
							2020-02-27 09:42:32 +09:00  
				
					
						
							
							
								 
						
							
								e5f2feec45 
								
							 
						 
						
							
							
								
								reenable actix-http from local path  
							
							
							
						 
						
							2020-02-27 09:42:32 +09:00  
				
					
						
							
							
								 
						
							
								0a86907dd2 
								
							 
						 
						
							
							
								
								use mem::replace instead of mem::take  rust 1.40+  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								78749a4b7e 
								
							 
						 
						
							
							
								
								rollback actix-http version change  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								de815dd99c 
								
							 
						 
						
							
							
								
								Fixed condition for finishing  transfer of response  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								e6078bf792 
								
							 
						 
						
							
							
								
								Fix EncoderBody enum to align with Body::Message  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								a84b37199a 
								
							 
						 
						
							
							
								
								Add Unpin to Body to get rid of unsafe in MessageBody  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								c05f9475c5 
								
							 
						 
						
							
							
								
								refactor dispatcher to avoid possible UB with DispatcherState Pin  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								69dab0063c 
								
							 
						 
						
							
							
								
								Get rid of one more unsafe  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								ec5c779732 
								
							 
						 
						
							
							
								
								unlink MessageBody from Unpin  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								2e2ea7ab80 
								
							 
						 
						
							
							
								
								remove extra whitespaces and Unpins  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								eeebc653fd 
								
							 
						 
						
							
							
								
								change actix-http version to alpha  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								09a391a3ca 
								
							 
						 
						
							
							
								
								rollback changes to actix-web, awc and test-server for now  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								62aba424e2 
								
							 
						 
						
							
							
								
								Rollback actix-http-test dependency to show the issue  
							
							
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								9d04b250f9 
								
							 
						 
						
							
							
								
								This is a squashed commit:  
							
							... 
							
							
							
							- Convert MessageBody to accept Pin in poll_next
- add CHANGES and increase versions aligned to semver
- update crates to accomodate MessageBody Pin change
- fix tests and dependencies 
							
						 
						
							2020-02-27 09:37:05 +09:00  
				
					
						
							
							
								 
						
							
								a4148de226 
								
							 
						 
						
							
							
								
								add test crashing with segfault according to  #1321  
							
							
							
						 
						
							2020-02-27 09:36:30 +09:00  
				
					
						
							
							
								 
						
							
								48ef4d7a26 
								
							 
						 
						
							
							
								
								Add actix-http support for actix error messages ( #1379 )  
							
							... 
							
							
							
							* Moved actix-http for actix from actix crate
* remove resolver feature
* renamed actix feature to actor
* fixed doc attr for actors, add documentation 
							
						 
						
							2020-02-27 09:34:49 +09:00  
				
					
						
							
							
								 
						
							
								71c4bd1b30 
								
							 
						 
						
							
							
								
								Remove uses of Pin::new_unchecked in h1 Dispatcher ( #1374 )  
							
							... 
							
							
							
							This removes the last uses of unsafe `Pin` functions in actix-web.
This PR adds a `Pin<Box<_>>` wrapper to `DispatcherState::Upgrade`,
`State::ExpectCall`, and `State::ServiceCall`.
The previous uses of the futures `State::ExpectCall` and `State::ServiceCall`
were Undefined Behavior - a future was obtained from `self.expect.call`
or `self.service.call`, pinned on the stack, and then immediately
returned from `handle_request`. The only alternative to using `Box::pin`
would be to refactor `handle_request` to write the futures directly into
their final location, or avoid polling them before they are returned.
The previous use of `DispatcherState::Upgrade` doesn't seem to be
unsound. However, having data pinned inside an enum that we
`std::mem::replace` would require some careful `unsafe` code to ensure
that we never call `std::mem::replace` when the active variant contains
pinned data. By using `Box::pin`, we any possibility of future
refactoring accidentally introducing undefined behavior.
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> 
							
						 
						
							2020-02-26 08:21:05 +09:00  
				
					
						
							
							
								 
						
							
								de1d6ad5cb 
								
							 
						 
						
							
							
								
								Merge pull request  #1344  from actix/replace-unsafe-content-length-helper  
							
							... 
							
							
							
							Replace unsafe content length helper 
							
						 
						
							2020-02-25 17:02:22 +09:00  
				
					
						
							
							
								 
						
							
								2a72e8d119 
								
							 
						 
						
							
							
								
								Merge branch 'master' into replace-unsafe-content-length-helper  
							
							
							
						 
						
							2020-02-25 14:30:04 +09:00  
				
					
						
							
							
								 
						
							
								2a8e5fdc73 
								
							 
						 
						
							
							
								
								Merge pull request  #1370  from mattgathu/feat/helper-function-for-trace-method  
							
							... 
							
							
							
							Create helper function for HTTP Trace Method 
							
						 
						
							2020-02-25 14:24:09 +09:00  
				
					
						
							
							
								 
						
							
								b213c07799 
								
							 
						 
						
							
							
								
								Merge branch 'master' into feat/helper-function-for-trace-method  
							
							
							
						 
						
							2020-02-25 12:36:20 +09:00  
				
					
						
							
							
								 
						
							
								3d6b8686ad 
								
							 
						 
						
							
							
								
								Merge pull request  #1373  from JohnTitor/new-codegen  
							
							... 
							
							
							
							Release `actix-web-codegen` v0.2.1 
							
						 
						
							2020-02-25 09:32:48 +09:00  
				
					
						
							
							
								 
						
							
								a4f87a53da 
								
							 
						 
						
							
							
								
								Update CHANGES.md  
							
							
							
						 
						
							2020-02-25 08:42:39 +09:00  
				
					
						
							
							
								 
						
							
								08f172a0aa 
								
							 
						 
						
							
							
								
								Merge branch 'master' into new-codegen  
							
							
							
						 
						
							2020-02-25 08:29:31 +09:00  
				
					
						
							
							
								 
						
							
								7792eaa16e 
								
							 
						 
						
							
							
								
								Merge pull request  #1378  from JohnTitor/fix-doc  
							
							... 
							
							
							
							Fix doc comment 
							
						 
						
							2020-02-25 08:29:14 +09:00  
				
					
						
							
							
								 
						
							
								845ce3cf34 
								
							 
						 
						
							
							
								
								Fix doc comment  
							
							
							
						 
						
							2020-02-25 07:46:03 +09:00  
				
					
						
							
							
								 
						
							
								7daef22e24 
								
							 
						 
						
							
							
								
								Merge branch 'master' into new-codegen  
							
							
							
						 
						
							2020-02-25 06:58:49 +09:00  
				
					
						
							
							
								 
						
							
								1249262c35 
								
							 
						 
						
							
							
								
								Merge pull request  #1372  from JohnTitor/time-0.2.7  
							
							... 
							
							
							
							Update `time` to 0.2.7 
							
						 
						
							2020-02-25 06:58:33 +09:00  
				
					
						
							
							
								 
						
							
								94da08f506 
								
							 
						 
						
							
							
								
								increase content-length fast path to responses up to 1MB  
							
							
							
						 
						
							2020-02-24 20:58:41 +00:00  
				
					
						
							
							
								 
						
							
								d143c44130 
								
							 
						 
						
							
							
								
								Update the ChangeLog  
							
							
							
						 
						
							2020-02-23 09:33:28 +01:00  
				
					
						
							
							
								 
						
							
								8ec8ccf4fb 
								
							 
						 
						
							
							
								
								Create helper function for HTTP Trace Method  
							
							... 
							
							
							
							Create *route* with `TRACE` method guard. 
							
						 
						
							2020-02-23 09:25:55 +01:00  
				
					
						
							
							
								 
						
							
								c8ccc69b93 
								
							 
						 
						
							
							
								
								actix-http: update `time` to 0.2.7  
							
							
							
						 
						
							2020-02-23 07:09:00 +09:00  
				
					
						
							
							
								 
						
							
								f9f9fb4c84 
								
							 
						 
						
							
							
								
								actix-http-test: update `time` to 0.2.7  
							
							
							
						 
						
							2020-02-23 07:08:50 +09:00  
				
					
						
							
							
								 
						
							
								1b77963aac 
								
							 
						 
						
							
							
								
								actix-web: update `time` to 0.2.7  
							
							
							
						 
						
							2020-02-23 07:08:22 +09:00  
				
					
						
							
							
								 
						
							
								036ffd43f9 
								
							 
						 
						
							
							
								
								Prepare for new release  
							
							
							
						 
						
							2020-02-23 06:40:02 +09:00  
				
					
						
							
							
								 
						
							
								bdccccd536 
								
							 
						 
						
							
							
								
								Merge pull request  #1368  from mattgathu/add-missing-docs-attr-to-codegen-structs  
							
							... 
							
							
							
							Add`#[allow(missing_docs)]` attribute to generated structs 
							
						 
						
							2020-02-23 06:26:42 +09:00  
				
					
						
							
							
								 
						
							
								060c392c67 
								
							 
						 
						
							
							
								
								Add missing_docs attribute to generated structs  
							
							
							
						 
						
							2020-02-22 10:32:12 +01:00  
				
					
						
							
							
								 
						
							
								245f96868a 
								
							 
						 
						
							
							
								
								impl downcast_ref for MessageBody ( #1287 )  
							
							... 
							
							
							
							Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> 
							
						 
						
							2020-02-21 13:31:51 +09:00  
				
					
						
							
							
								 
						
							
								b3f1071aaf 
								
							 
						 
						
							
							
								
								Merge pull request  #1361  from Aaron1011/fix/connector-pool-support  
							
							... 
							
							
							
							Use #[pin_project] with `ConnectorPoolSupport` 
							
						 
						
							2020-02-21 06:01:26 +09:00  
				
					
						
							
							
								 
						
							
								e6811e8818 
								
							 
						 
						
							
							
								
								Use #[pin_project] with `ConnectorPoolSupport`  
							
							... 
							
							
							
							This removes a use of `Pin::get_unchecked_mut` 
							
						 
						
							2020-02-19 21:42:53 -05:00  
				
					
						
							
							
								 
						
							
								809930d36e 
								
							 
						 
						
							
							
								
								Add dependencies to docs example ( #1343 )  
							
							... 
							
							
							
							* Add dependencies to docs example
* Change codeblock type to toml
* Clarify the need for actix-rt
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> 
							
						 
						
							2020-02-20 05:13:10 +09:00  
				
					
						
							
							
								 
						
							
								f266b44cb0 
								
							 
						 
						
							
							
								
								replace unsafe blocks in write_usize helper  
							
							
							
						 
						
							2020-02-16 15:20:25 +00:00