Sean McArthur 
							
						 
					 
					
						
						
							
						
						50a6f6103e 
					 
					
						
						
							
							Merge pull request  #87  from mhart/silence-constant-warning  
						
						... 
						
						
						
						Uppercase phrase constant to remove warnings 
						
						
					 
					
						2014-10-18 16:28:13 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						7fa17db1ca 
					 
					
						
						
							
							Merge pull request  #86  from mhart/remove-debug-crate  
						
						... 
						
						
						
						Remove debug crate from examples 
						
						
					 
					
						2014-10-18 15:57:09 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Hart 
							
						 
					 
					
						
						
							
						
						1222948414 
					 
					
						
						
							
							Uppercase phrase constant to remove warnings  
						
						... 
						
						
						
						Latest 0.13.0-nightly gives this:
warning: static constant `phrase` should have an uppercase name such as
`PHRASE`, #[warn(non_upper_case_globals)] on by default 
						
						
					 
					
						2014-10-18 18:46:02 -04:00 
						 
				 
			
				
					
						
							
							
								Michael Hart 
							
						 
					 
					
						
						
							
						
						262a1658cf 
					 
					
						
						
							
							Remove debug crate  
						
						... 
						
						
						
						This fixes errors with latest 0.13.0-nightly as crate has been removed:
`error: can't find crate for ‘debug’` 
						
						
					 
					
						2014-10-18 18:39:03 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						0fcbdc34f2 
					 
					
						
						
							
							Merge pull request  #84  'optimize-method-parsing'  
						
						
						
						
					 
					
						2014-10-17 01:40:32 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Bonander 
							
						 
					 
					
						
						
							
						
						ab396c2394 
					 
					
						
						
							
							Fix and optimize HTTP method parsing  
						
						... 
						
						
						
						The old parser used a manually unrolled state machine
and was broken due to upstream rust issues with match
statements.
The new parser is a read into a stack-allocated buffer
followed by a single match on the contents of that
buffer.
This significantly improves the benchmarks for method
reads by almost 30%, in addition to working around
the upstream rust issues with reordering match blocks. 
						
						
					 
					
						2014-10-17 01:35:11 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						b285451e21 
					 
					
						
						
							
							Merge pull request  #79  from reem/readme-warning  
						
						... 
						
						
						
						Add a warning about the stability of Hyper to the README. 
						
						
					 
					
						2014-10-15 23:57:50 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						f43d3cbc81 
					 
					
						
						
							
							Merge pull request  #83  from gtolle/expose-from-one-raw-str  
						
						... 
						
						
						
						Exposed the 'from_one_raw_str' function for use in defining new headers 
						
						
					 
					
						2014-10-15 23:57:40 -07:00 
						 
				 
			
				
					
						
							
							
								Gilman Tolle 
							
						 
					 
					
						
						
							
						
						5615ab276e 
					 
					
						
						
							
							Exposed the 'from_one_raw_str' function for use in defining new header structs.  
						
						
						
						
					 
					
						2014-10-15 23:40:40 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						1dcc600c5c 
					 
					
						
						
							
							Add a warning about the stability of Hyper to the README.  
						
						
						
						
					 
					
						2014-10-14 19:42:10 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						2ea75c967d 
					 
					
						
						
							
							Merge pull request  #78  from hyperium/headers-fmt  
						
						... 
						
						
						
						Minor internal cleanup of header formatting 
						
						
					 
					
						2014-10-13 19:57:42 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e6329af74e 
					 
					
						
						
							
							Slice was changed to AsSlice in libstd  
						
						
						
						
					 
					
						2014-10-13 18:37:14 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						2f755a5694 
					 
					
						
						
							
							move rendering of headers to the Headers object  
						
						
						
						
					 
					
						2014-10-13 14:32:48 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						f2d2ed93d3 
					 
					
						
						
							
							Merge pull request  #76  from hyperium/fix-query  
						
						... 
						
						
						
						fix client requests dropping the query string. fixes  #75  
						
						
					 
					
						2014-10-13 13:19:41 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						61e18141be 
					 
					
						
						
							
							fix client requests dropping the query string.  fixes   #75  
						
						
						
						
					 
					
						2014-10-13 10:16:45 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						08402a1cbf 
					 
					
						
						
							
							Merge pull request  #74  from s-panferov/fix/use-const  
						
						... 
						
						
						
						Use `const` instead of `static` 
						
						
					 
					
						2014-10-11 00:46:58 -07:00 
						 
				 
			
				
					
						
							
							
								Stanislav Panferov 
							
						 
					 
					
						
						
							
						
						e7a2688b7e 
					 
					
						
						
							
							Use const instead of static  
						
						
						
						
					 
					
						2014-10-11 11:00:10 +04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						119ca21f30 
					 
					
						
						
							
							Merge pull request  #73  from s-panferov/fix/abstract-is-reserved  
						
						... 
						
						
						
						(fix) abstract is now a reserved word. 
						
						
					 
					
						2014-10-09 23:56:43 -07:00 
						 
				 
			
				
					
						
							
							
								Stanislav Panferov 
							
						 
					 
					
						
						
							
						
						d5e33ca9db 
					 
					
						
						
							
							(fix) abstract is now a reserved word.  
						
						
						
						
					 
					
						2014-10-10 10:52:47 +04:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						a70a12dd89 
					 
					
						
						
							
							Merge pull request  #72  from hyperium/header-name-string  
						
						... 
						
						
						
						adjust RawHeaderLine to be (String, Vec<u8>) 
						
						
					 
					
						2014-10-08 17:43:08 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						50a2112caf 
					 
					
						
						
							
							adjust RawHeaderLine to be (String, Vec<u8>)  
						
						
						
						
					 
					
						2014-10-07 15:30:02 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						233d7c4190 
					 
					
						
						
							
							Merge pull request  #69  from s-panferov/feature/accept-header-parsing  
						
						... 
						
						
						
						Implement the basic parsing for Accept header. 
						
						
					 
					
						2014-10-06 11:32:19 -07:00 
						 
				 
			
				
					
						
							
							
								Stanislav Panferov 
							
						 
					 
					
						
						
							
						
						2995923505 
					 
					
						
						
							
							Fix review comments  
						
						
						
						
					 
					
						2014-10-06 22:27:08 +04:00 
						 
				 
			
				
					
						
							
							
								Stanislav Panferov 
							
						 
					 
					
						
						
							
						
						f6ac243c85 
					 
					
						
						
							
							Implement the basic parsing for Accept header.  
						
						
						
						
					 
					
						2014-10-06 19:56:32 +04:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						46e1f4443f 
					 
					
						
						
							
							Merge pull request  #68  from s-panferov/feature/location-header  
						
						... 
						
						
						
						Add Location header 
						
						
					 
					
						2014-10-05 13:26:43 -07:00 
						 
				 
			
				
					
						
							
							
								Stanislav Panferov 
							
						 
					 
					
						
						
							
						
						10db5ee896 
					 
					
						
						
							
							Add Location header  
						
						
						
						
					 
					
						2014-10-05 20:05:27 +04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						7d86296169 
					 
					
						
						
							
							Migrated from .. to ... to respond to upstream changes.  
						
						
						
						
					 
					
						2014-10-04 02:44:57 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						28629281ae 
					 
					
						
						
							
							Merge pull request  #66  from bruse/master  
						
						... 
						
						
						
						Fix typo in documentation 
						
						
					 
					
						2014-09-27 19:08:23 -07:00 
						 
				 
			
				
					
						
							
							
								bruse 
							
						 
					 
					
						
						
							
						
						3326e5f09c 
					 
					
						
						
							
							Fix typo in documentation  
						
						
						
						
					 
					
						2014-09-28 03:23:05 +02:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						fbd0a41fbd 
					 
					
						
						
							
							Merge pull request  #65  from hyperium/debug  
						
						... 
						
						
						
						Debug 
						
						
					 
					
						2014-09-27 14:16:29 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						145a97377b 
					 
					
						
						
							
							fix deprecated usage in bench  
						
						
						
						
					 
					
						2014-09-27 14:10:35 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						834cb09733 
					 
					
						
						
							
							additional debug lines  
						
						
						
						
					 
					
						2014-09-27 14:10:17 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5391e7f61a 
					 
					
						
						
							
							fix recursive overflow of read()  
						
						
						
						
					 
					
						2014-09-27 14:09:56 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						30dd736067 
					 
					
						
						
							
							Merge pull request  #48  from reem/immutable-header-getters  
						
						... 
						
						
						
						Store Header Items behind an RWLock 
						
						
					 
					
						2014-09-27 11:23:19 -07:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						d3a62fa0d5 
					 
					
						
						
							
							Add get_mut for modifying the typed representation of Headers.  
						
						... 
						
						
						
						Also adds an associated test and updates code to use it instead
of cloning and setting when possible. 
						
						
					 
					
						2014-09-27 00:17:59 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						858a09304a 
					 
					
						
						
							
							Remove get and rename get_ref to get  
						
						... 
						
						
						
						Since `get_ref` (now `get`) takes `&self` there is no need
for a special cloning method. 
						
						
					 
					
						2014-09-27 00:17:59 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						91cc29e0aa 
					 
					
						
						
							
							Fixed a race condition in get_ref  
						
						... 
						
						
						
						If two threads attempted to `get_ref` the same Header under two
representations, then it was possible that the second thread would
overwrite the work of the first thread, causing the first thread
to do an unchecked downcast to the wrong type.
In the case where they were the same Header representation, then the
only damage would be that it would be parsed twice and would possibly
return a false negative in one thread.
The new code checks that it was not a queued lock and will not override
the work of another thread, but will accept it if the other thread parsed
the header as the same type. This also prevents duplicate parsing. 
						
						
					 
					
						2014-09-27 00:17:58 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						e85ae48e16 
					 
					
						
						
							
							Update server and client for changes in Headers mutability.  
						
						
						
						
					 
					
						2014-09-27 00:17:58 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						90dbef1d03 
					 
					
						
						
							
							Add tests for double-reads for Header to ensure safety.  
						
						
						
						
					 
					
						2014-09-27 00:17:58 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						d00fc14765 
					 
					
						
						
							
							Store Header Items behind an RWLock  
						
						... 
						
						
						
						This removes the need to receive `&mut self` in `get_ref` and `get.`
Since the interior mutability of the RWLock is needed only once,
it is safe to change the lifetime of the pointer given by read locks
as by then all mutation has been done.
Since `set` still requires `&mut self` there is no way to use the interior
mutability of the RWLock to modify an existing `&`-reference. However,
the use of interior mutability in `get_ref` means that `get_raw` is now
actually an unsafe operation because the (now `*const`) pointer could be
invalidated by a subsequent call to `get_ref.`
Fixes  #47  
						
						
					 
					
						2014-09-27 00:17:58 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						1b65d5e2e6 
					 
					
						
						
							
							Merge pull request  #63  from reem/de-deprecate-parse-delete  
						
						... 
						
						
						
						Remove deprecated items and parse DELETE 
						
						
					 
					
						2014-09-27 00:11:59 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						8f35a03f51 
					 
					
						
						
							
							Use the entry API instead of find_or_insert.  
						
						
						
						
					 
					
						2014-09-26 22:59:13 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						8d1c6a790e 
					 
					
						
						
							
							Parse the DELETE method and transition to push from push_char.  
						
						
						
						
					 
					
						2014-09-26 22:57:31 -04:00 
						 
				 
			
				
					
						
							
							
								Jonathan Reem 
							
						 
					 
					
						
						
							
						
						48dca53e88 
					 
					
						
						
							
							Merge pull request  #61  from hyperium/assert-send  
						
						... 
						
						
						
						enforce Request/Response to be Send 
						
						
					 
					
						2014-09-25 16:01:29 -04:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						258a67fe76 
					 
					
						
						
							
							enforce Request/Response to be Send  
						
						
						
						
					 
					
						2014-09-25 09:52:24 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						b14a56fb80 
					 
					
						
						
							
							Merge pull request  #60  from hyperium/rustup  
						
						... 
						
						
						
						update to rust master 
						
						
					 
					
						2014-09-25 09:46:09 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						3259f7dce9 
					 
					
						
						
							
							update to rust master  
						
						... 
						
						
						
						fixing usage of a Private trait as bounds for a public trait 
						
						
					 
					
						2014-09-24 19:57:03 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						67f2a87dc3 
					 
					
						
						
							
							Merge pull request  #58  from hyperium/rustup  
						
						... 
						
						
						
						update to rust master 
						
						
					 
					
						2014-09-23 21:55:17 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						26e2a0c8f4 
					 
					
						
						
							
							update to rust master  
						
						
						
						
					 
					
						2014-09-23 21:47:27 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						042526c7ad 
					 
					
						
						
							
							Merge pull request  #57  from hyperium/case-insensitive  
						
						... 
						
						
						
						property treat header names as case insensitive 
						
						
					 
					
						2014-09-23 21:37:52 -07:00