Daniel J. Hofmann
							
						 
					 | 
					
						
						
						
						
							
						
						
							e7d9e42a16
							
						
					 | 
					
						
						
							
							Fix race condition in osrm-routed HTTP server
						
						
						
						
						
						
						
						We had a similar issue a few month ago. Stumbled upon this by accident.
It goes like this:
- `output_buffer` is function-local
- we pass it to async_write and leave the scope
- `output_buffers` goes out of scope
- bad things happen, sometimes
The fix is to, again, put it inside the connection that handles itself
via the enable_shared_from_this idiom.
References:
- http://www.boost.org/doc/libs/1_59_0/doc/html/boost_asio/reference/async_write/overload1.html
- https://github.com/Project-OSRM/osrm-backend/pull/1690 
						
					 | 
					
						2016-01-13 23:21:45 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Patrick Niklaus
							
						 
					 | 
					
						
						
						
						
							
						
						
							6991a38703
							
						
					 | 
					
						
						
							
							Run clang-format
						
						
						
						
						
					 | 
					
						2016-01-08 01:31:57 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Patrick Niklaus
							
						 
					 | 
					
						
						
						
						
							
						
						
							6b18e4f7e9
							
						
					 | 
					
						
						
							
							Add namespace around all files
						
						
						
						
						
					 | 
					
						2016-01-08 01:30:52 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Patrick Niklaus
							
						 
					 | 
					
						
						
						
						
							
						
						
							b209952ce0
							
						
					 | 
					
						
						
							
							Fix naming of methodes for RouteParameters
						
						
						
						
						
					 | 
					
						2016-01-05 12:06:33 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Patrick Niklaus
							
						 
					 | 
					
						
						
						
						
							
						
						
							028ca5c9d9
							
						
					 | 
					
						
						
							
							Apply clang-format
						
						
						
						
						
					 | 
					
						2016-01-05 12:04:04 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel J. Hofmann
							
						 
					 | 
					
						
						
						
						
							
						
						
							685d330ee2
							
						
					 | 
					
						
						
							
							Remove license headers from project source files; global license
						
						
						
						
						
					 | 
					
						2016-01-04 19:06:32 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Patrick Niklaus
							
						 
					 | 
					
						
						
						
						
							
						
						
							97585bb26a
							
						
					 | 
					
						
						
							
							Fix include paths
						
						
						
						
						
					 | 
					
						2016-01-03 18:47:50 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Patrick Niklaus
							
						 
					 | 
					
						
						
						
						
							
						
						
							bfc6c9b89d
							
						
					 | 
					
						
						
							
							Move files in src/ include/
						
						
						
						
						
					 | 
					
						2016-01-03 16:37:38 +01:00 | 
					
					
						
						
							
							
							
						
					 |