Internals have been shuffled around such that Request and Reponse are now given only a mutable reference to the stream, instead of being allowed to consume it. This allows the server to re-use the streams if keep-alive is true. A task pool is used, and the number of the threads can currently be adjusted by using the `listen_threads()` method on Server. [breaking-change]
		
			
				
	
	
		
			33 lines
		
	
	
		
			727 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			727 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| 
 | |
| name = "hyper"
 | |
| version = "0.0.1"
 | |
| authors = ["Sean McArthur <sean.monstar@gmail.com>"]
 | |
| 
 | |
| [dependencies.url]
 | |
| git = "https://github.com/servo/rust-url"
 | |
| 
 | |
| [dependencies.openssl]
 | |
| git = "https://github.com/sfackler/rust-openssl"
 | |
| 
 | |
| [dependencies.mime]
 | |
| git = "https://github.com/hyperium/mime.rs"
 | |
| 
 | |
| [dependencies.unsafe-any]
 | |
| git = "https://github.com/reem/rust-unsafe-any"
 | |
| 
 | |
| [dependencies.typeable]
 | |
| git = "https://github.com/reem/rust-typeable"
 | |
| 
 | |
| [dev-dependencies.curl]
 | |
| git = "https://github.com/carllerche/curl-rust"
 | |
| 
 | |
| [dev-dependencies.http]
 | |
| git = "https://github.com/chris-morgan/rust-http"
 | |
| 
 | |
| [dependencies.cookie]
 | |
| git = "https://github.com/alexcrichton/cookie-rs"
 | |
| 
 | |
| [dependencies.time]
 | |
| git = "https://github.com/rust-lang/time"
 |