| 
							
							
								 Patrick Niklaus | 22e83013e3 | Fix uturns at dead-end streets | 2016-01-15 16:24:21 +01:00 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | 466251287f | Define compile-time constants for coordinate calculation only once Closes #1327. | 2016-01-12 19:59:02 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | c93ca02fb8 | Rips out dead code from the container.hpp and creates for_each_pai.hpp I added two TODOs that I would like to address in the future. | 2016-01-11 20:14:35 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | 4813488f84 | Split import_edge.hpp: node_based_edge.hpp, edge_based_edge.hpp closes #1604 | 2016-01-11 20:11:44 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | fc292cc2d8 | No need for extra translation units (for edge data structures) | 2016-01-11 20:11:44 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | f875e26fbf | Inline mercator transformations; no need for separate translation unit | 2016-01-11 20:10:45 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | f68247673a | Make ComputeAngle a free standing function | 2016-01-09 19:55:22 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | f65dd63210 | Make TurnInstructionsClass functions free standing functions | 2016-01-09 19:55:22 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | 0627c3443d | Make PolylineFormatter's encodedAsJSON and unencodedAsJSON free standing functions | 2016-01-09 19:55:22 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | c65dd16460 | Make PolylineCompresser's encode and decode free standing functions | 2016-01-09 19:55:22 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | c590596dbe | Make DouglasPeucker a free standing function | 2016-01-09 19:55:21 +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 |  | 
			
				
					| 
							
							
								 Moritz Kobitzsch | efd33b295a | Refactor guidance generation | 2016-01-07 22:51:24 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 1da1fa5a31 | Fix naming in PhantomNode | 2016-01-05 12:41:16 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 707931125e | Remove unnecceary pre-define | 2016-01-05 12:06:34 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | f4e82a879b | Fix naming in static_rtree benchmark | 2016-01-05 12:06:34 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 4f7369ed02 | Fix naming in FixedPointCoordinate | 2016-01-05 12:06:34 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 4312013552 | Fix naming in coordinate_calculation | 2016-01-05 12:06:34 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | e8bc69aa01 | Fix naming in springclean | 2016-01-05 12:06:33 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | befb667759 | Fix naming of routed | 2016-01-05 12:06:33 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | b35254ec78 | Fix naming in io-benchmark | 2016-01-05 12:06:33 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 9956988938 | Fix naming in datstore | 2016-01-05 12:06:33 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 5b0e2e487a | Fix naming in components tool | 2016-01-05 12:06:33 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | ccd3872bf1 | Fix naming in ScriptingEnvironment | 2016-01-05 12:06:33 +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 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 552cdbfe20 | Apply clang-tidy | 2016-01-05 11:54:31 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | 4ca29dd18e | Default initialize (i.e. zero initialize) variables to suppress -Wuninitialized false positive | 2016-01-05 11:29:25 +01:00 |  | 
			
				
					| 
							
							
								 Daniel J. Hofmann | 685d330ee2 | Remove license headers from project source files; global license | 2016-01-04 19:06:32 +01:00 |  | 
			
				
					| 
							
							
								 Mortada Mehyar | 93a2e66704 | use double precision calculations instead of mixing double and float | 2016-01-03 20:44:38 -08:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | 97585bb26a | Fix include paths | 2016-01-03 18:47:50 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | d936009ea1 | DOS -> UNIX file format | 2016-01-03 16:37:38 +01:00 |  | 
			
				
					| 
							
							
								 Patrick Niklaus | bfc6c9b89d | Move files in src/ include/ | 2016-01-03 16:37:38 +01:00 |  |