e7edf84282 
								
							
								 
							
						 
						
							
							
								
								🐛  Fix rendezvous problem.  
							
							... 
							
							
							
							Now clients can queue up for a server, which fixes a few things:
- A server can receive multiple requests at once, reducing roundtrip
count in theory
- Clients can wait up to 30 seconds on the relay before the server
is ready for them
- If the server has just left to service a request, the client will
queue instead of seeing the server as absent and giving up 
							
						 
						
							2020-11-01 20:07:46 -06:00  
				
					
						
							
							
								 
						
							
							
								067e240ff4 
								
							
								 
							
						 
						
							
							
								
								🚧  I'm gonna try to fix the rendezvous problem  
							
							
							
						 
						
							2020-11-01 18:13:12 -06:00  
				
					
						
							
							
								 
						
							
							
								c056118798 
								
							
								 
							
						 
						
							
							
								
								Set up CLI flags to manually test 2 servers at once  
							
							
							
						 
						
							2020-10-31 22:17:11 -05:00  
				
					
						
							
							
								 
						
							
							
								063e79d217 
								
							
								 
							
						 
						
							
							
								
								🚨  Add license to Cargo.toml and fix up clippy stuff  
							
							
							
						 
						
							2020-10-31 21:59:02 -05:00  
				
					
						
							
							
								 
						
							
							
								b673fa94c7 
								
							
								 
							
						 
						
							
							
								
								🚧  Split up watchers into client and server  
							
							
							
						 
						
							2020-10-31 21:53:09 -05:00  
				
					
						
							
							
								 
						
							
							
								15a62a5e2a 
								
							
								 
							
						 
						
							
							
								
								🚧  Trying to fix the issue where clients don't wait on servers  
							
							
							
						 
						
							2020-10-31 20:21:53 -05:00  
				
					
						
							
							
								 
						
							
							
								41e5f99688 
								
							
								 
							
						 
						
							
							
								
								update todo  
							
							
							
						 
						
							2020-10-31 16:00:13 -05:00  
				
					
						
							
							
								 
						
							
							
								f57777c72f 
								
							
								 
							
						 
						
							
							
								
								Add server list page  
							
							
							
						 
						
							2020-10-31 15:46:38 -05:00  
				
					
						
							
							
								 
						
							
							
								9244953e57 
								
							
								 
							
						 
						
							
							
								
								♻️  Extract load_templates fn for file server  
							
							
							
						 
						
							2020-10-31 12:56:36 -05:00  
				
					
						
							
							
								 
						
							
							
								bf48eb2dbd 
								
							
								 
							
						 
						
							
							
								
								Update todo  
							
							
							
						 
						
							2020-10-31 16:53:38 +00:00  
				
					
						
							
							
								 
						
							
							
								be53772337 
								
							
								 
							
						 
						
							
							
								
								🎉  Add parent directory link.  
							
							... 
							
							
							
							I was way overthinking this one. 
							
						 
						
							2020-10-31 15:46:24 +00:00  
				
					
						
							
							
								 
						
							
							
								0572de2ad0 
								
							
								 
							
						 
						
							
							
								
								💄  Make directory indexes prettier  
							
							
							
						 
						
							2020-10-31 15:28:27 +00:00  
				
					
						
							
							
								 
						
							
							
								1fb0c2aafa 
								
							
								 
							
						 
						
							
							
								
								💄  Switched to a handlebars template for the whole dir index  
							
							
							
						 
						
							2020-10-31 09:35:18 -05:00  
				
					
						
							
							
								 
						
							
							
								55b3e9f520 
								
							
								 
							
						 
						
							
							
								
								🚧  Working on handlebars for prettier directories  
							
							
							
						 
						
							2020-10-30 21:31:03 -05:00  
				
					
						
							
							
								 
						
							
							
								ba17f11297 
								
							
								 
							
						 
						
							
							
								
								♻️  Extract http_serde::Body so I can make the file server standalone  
							
							
							
						 
						
							2020-10-30 20:35:39 -05:00  
				
					
						
							
							
								 
						
							
							
								3b8a58df1d 
								
							
								 
							
						 
						
							
							
								
								Don't shorten dependency versions, turned out this is pointless  
							
							
							
						 
						
							2020-10-30 19:01:08 -05:00  
				
					
						
							
							
								 
						
							
							
								dac223efde 
								
							
								 
							
						 
						
							
							
								
								♻️  Extract relay_url option  
							
							
							
						 
						
							2020-10-30 18:48:44 -05:00  
				
					
						
							
							
								 
						
							
							
								0f092f7213 
								
							
								 
							
						 
						
							
							
								
								Test the file server by hashing the AGPL license remotely  
							
							
							
						 
						
							2020-10-30 18:36:32 -05:00  
				
					
						
							
							
								 
						
							
							
								5d14155ba3 
								
							
								 
							
						 
						
							
							
								
								Start adding some tests  
							
							
							
						 
						
							2020-10-30 18:18:42 -05:00  
				
					
						
							
							
								 
						
							
							
								41213f7272 
								
							
								 
							
						 
						
							
							
								
								♻️  Move the server bin into the lib, too  
							
							
							
						 
						
							2020-10-30 18:02:57 -05:00  
				
					
						
							
							
								 
						
							
							
								6b5208fdb4 
								
							
								 
							
						 
						
							
							
								
								♻️  Move the relay binary into the lib  
							
							... 
							
							
							
							what am i doing 
							
						 
						
							2020-10-30 17:57:36 -05:00  
				
					
						
							
							
								 
						
							
							
								8d3fc71dcf 
								
							
								 
							
						 
						
							
							
								
								🚧  Can I test these within the same process?  
							
							
							
						 
						
							2020-10-30 17:53:03 -05:00  
				
					
						
							
							
								 
						
							
							
								07686e693c 
								
							
								 
							
						 
						
							
							
								
								♻️  Make sure constants are factored out  
							
							... 
							
							
							
							They'll become params one day 
							
						 
						
							2020-10-30 17:43:56 -05:00  
				
					
						
							
							
								 
						
							
							
								9f399b0440 
								
							
								 
							
						 
						
							
							
								
								♻️  Extract file_server module  
							
							
							
						 
						
							2020-10-30 17:38:23 -05:00  
				
					
						
							
							
								 
						
							
							
								6d3a5ac9ba 
								
							
								 
							
						 
						
							
							
								
								♻️  Extract serve_all func  
							
							
							
						 
						
							2020-10-30 17:25:22 -05:00  
				
					
						
							
							
								 
						
							
							
								325f68b566 
								
							
								 
							
						 
						
							
							
								
								♻️  Make the server's inner handlers look more like a regular Hyper server  
							
							
							
						 
						
							2020-10-30 17:11:35 -05:00  
				
					
						
							
							
								 
						
							
							
								1615f0d075 
								
							
								 
							
						 
						
							
							
								
								🚧  checkpoint  
							
							
							
						 
						
							2020-10-30 17:01:37 -05:00  
				
					
						
							
							
								 
						
							
							
								2e2e6a5f32 
								
							
								 
							
						 
						
							
							
								
								Use percent encoding for spaces in file names  
							
							
							
						 
						
							2020-10-30 16:46:03 -05:00  
				
					
						
							
							
								 
						
							
							
								5a690b287e 
								
							
								 
							
						 
						
							
							
								
								update todo  
							
							
							
						 
						
							2020-10-30 21:26:46 +00:00  
				
					
						
							
							
								 
						
							
							
								8a301a6d03 
								
							
								 
							
						 
						
							
							
								
								🚧  Can index directories now, but a lot of stuff is missing  
							
							
							
						 
						
							2020-10-29 13:31:13 +00:00  
				
					
						
							
							
								 
						
							
							
								af226cb36c 
								
							
								 
							
						 
						
							
							
								
								🚧  Working on directory indexes  
							
							
							
						 
						
							2020-10-29 13:19:14 +00:00  
				
					
						
							
							
								 
						
							
							
								6f31c93c1f 
								
							
								 
							
						 
						
							
							
								
								♻️  
							
							
							
						 
						
							2020-10-29 12:45:35 +00:00  
				
					
						
							
							
								 
						
							
							
								9dd2155d7a 
								
							
								 
							
						 
						
							
							
								
								🐛  Add 404 page for missing file instead of gateway timeout  
							
							
							
						 
						
							2020-10-29 12:24:05 +00:00  
				
					
						
							
							
								 
						
							
							
								ec5b770ae3 
								
							
								 
							
						 
						
							
							
								
								♻️  Extract serve_file fn  
							
							
							
						 
						
							2020-10-29 12:17:40 +00:00  
				
					
						
							
							
								 
						
							
							
								722eac97e8 
								
							
								 
							
						 
						
							
							
								
								Typo  
							
							
							
						 
						
							2020-10-27 22:57:49 -05:00  
				
					
						
							
							
								 
						
							
							
								1e6c29fb01 
								
							
								 
							
						 
						
							
							
								
								Byte ranges are properly advertised and served.  
							
							... 
							
							
							
							This means Firefox can seek video / audio served by us.
To think, you used to need Flash to do this. 
							
						 
						
							2020-10-27 22:05:19 -05:00  
				
					
						
							
							
								 
						
							
							
								aa183de15e 
								
							
								 
							
						 
						
							
							
								
								Impl HEAD method  
							
							
							
						 
						
							2020-10-27 21:43:12 -05:00  
				
					
						
							
							
								 
						
							
							
								9e3470d5b4 
								
							
								 
							
						 
						
							
							
								
								❇️  content-length response header  
							
							
							
						 
						
							2020-10-27 21:33:03 -05:00  
				
					
						
							
							
								 
						
							
							
								4c03e6d32a 
								
							
								 
							
						 
						
							
							
								
								❇️  Sending the ResponseParts back through a header.  
							
							... 
							
							
							
							Do you feel like a hero yet? 
							
						 
						
							2020-10-27 21:29:15 -05:00  
				
					
						
							
							
								 
						
							
							
								1e86e9735e 
								
							
								 
							
						 
						
							
							
								
								♻️  Towards response headers and status code  
							
							
							
						 
						
							2020-10-27 21:10:40 -05:00  
				
					
						
							
							
								 
						
							
							
								d286adadc9 
								
							
								 
							
						 
						
							
							
								
								❇️  You can now actually request different files  
							
							
							
						 
						
							2020-10-27 20:39:02 -05:00  
				
					
						
							
							
								 
						
							
							
								290745f6cf 
								
							
								 
							
						 
						
							
							
								
								Pass the right part of the URL to the server.  
							
							... 
							
							
							
							Also remove dead code 
							
						 
						
							2020-10-27 20:31:38 -05:00  
				
					
						
							
							
								 
						
							
							
								406b13c3b1 
								
							
								 
							
						 
						
							
							
								
								♻️  Package interesting request fields into MsgPack  
							
							
							
						 
						
							2020-10-27 20:20:06 -05:00  
				
					
						
							
							
								 
						
							
							
								15b18a9335 
								
							
								 
							
						 
						
							
							
								
								🚧  
							
							
							
						 
						
							2020-10-27 19:43:23 -05:00  
				
					
						
							
							
								 
						
							
							
								6a79b90643 
								
							
								 
							
						 
						
							
							
								
								Add license and README  
							
							
							
						 
						
							2020-10-27 13:59:03 +00:00  
				
					
						
							
							
								 
						
							
							
								cab36c7a19 
								
							
								 
							
						 
						
							
							
								
								Actually it works okay, I was just off on my estimate of how big videos are.  
							
							... 
							
							
							
							Still needs to support byte range, too. 
							
						 
						
							2020-10-27 13:26:40 +00:00  
				
					
						
							
							
								 
						
							
							
								b9db10b76a 
								
							
								 
							
						 
						
							
							
								
								🚧  Set up streaming on the relay  
							
							... 
							
							
							
							however it doesn't pass a smoke test for video streaming yet 
							
						 
						
							2020-10-27 13:04:28 +00:00  
				
					
						
							
							
								 
						
							
							
								587849bcfa 
								
							
								 
							
						 
						
							
							
								
								Sending a picture to the client. Streaming works on the server but not yet on the relay  
							
							
							
						 
						
							2020-10-27 03:58:50 +00:00  
				
					
						
							
							
								 
						
							
							
								eaca19f6ba 
								
							
								 
							
						 
						
							
							
								
								Fix it up so the response body goes through a POST body instead  
							
							
							
						 
						
							2020-10-27 03:36:52 +00:00  
				
					
						
							
							
								 
						
							
							
								0cc61796c0 
								
							
								 
							
						 
						
							
							
								
								Concept is proven, though it won't work for streaming  
							
							
							
						 
						
							2020-10-27 03:27:25 +00:00