mirror of
				https://gogs.blitter.com/RLabs/xs
				synced 2024-08-14 10:26:42 +00:00 
			
		
		
		
	Comments on main() xsd
This commit is contained in:
		
							parent
							
								
									26a1ee17cf
								
							
						
					
					
						commit
						fd70933884
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		
							
								
								
									
										10
									
								
								xsd/xsd.go
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								xsd/xsd.go
									
										
									
									
									
								
							|  | @ -495,10 +495,12 @@ func (a *allowedHMACAlgs) Set(value string) error { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // Main server that listens and spawns goroutines for each | // Main server that listens and spawns goroutines for each | ||||||
| // connecting client. Note this code is mostly identical to standard | // connecting client to serve interactive or file copy sessions | ||||||
| // tcp server code, save for declaring 'xsnet' rather than 'net' | // and any requested tunnels. | ||||||
| // Listener and Conns. The KEx and encrypt/decrypt is done within the type. | // Note that this server does not do UNIX forks of itself to give | ||||||
| // Compare to 'serverp.go' in this directory to see the equivalence. | // each client its own separate manager process, so if the main | ||||||
|  | // daemon dies, all clients will be rudely disconnected. | ||||||
|  | // Consider this when planning to restart or upgrade in-place an installation. | ||||||
| // TODO: reduce gocyclo | // TODO: reduce gocyclo | ||||||
| func main() { | func main() { | ||||||
| 	var vopt bool | 	var vopt bool | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue