mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-26 18:22:43 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			673 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			673 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ##
 | |
| ## thumbnails
 | |
| 
 | |
| two components:
 | |
|   thumbcache is directly accessed by httpd to return pregenerated thumbnails
 | |
|   thumbsrv is accessed through a broker on cache miss to generate and return
 | |
| 
 | |
| ##
 | |
| ## initial ideas
 | |
| 
 | |
| need log interface
 | |
|   tcpsrv creates it
 | |
|   httpsrv must use interface
 | |
| 
 | |
| msgsvc
 | |
|   simulates a multiprocessing queue
 | |
|   takes events from httpsrv
 | |
|     logging
 | |
|   mpsrv pops queue and forwards to this
 | |
| 
 | |
| tcpsrv
 | |
|   tcp listener
 | |
|   pass tcp clients to worker
 | |
|   api to get status messages from workers
 | |
| 
 | |
| mpsrv
 | |
|   uses multiprocessing to handle incoming clients
 | |
| 
 | |
| httpsrv
 | |
|   takes client sockets, starts threads
 | |
|   takes argv acc/vol through init args
 | |
|   loads acc/vol from config file
 |