861a8eaf5c 
								
							 
						 
						
							
							
								
								pointer receivers and statusFromError(uint32, error)  
							
							
							
						 
						
							2021-02-22 12:11:42 +00:00  
				
					
						
							
							
								 
						
							
								3f969fcd59 
								
							 
						 
						
							
							
								
								add optional AllocationModeOptimized  
							
							... 
							
							
							
							after processing a packet we keep in memory the allocated slices and we reuse
them for new packets.
Slices are allocated in:
- recvPacket
- when we receive a sshFxpReadPacket (downloads)
The allocated slices have a fixed size = maxMsgLength.
Allocated slices are referenced to the request order id and are marked for reuse
after a request is served in maybeSendPackets.
The allocator is added to the packetManager struct and it is cleaned at the end
of the Serve() function.
This allocation mode is optional and disabled by default 
							
						 
						
							2020-03-14 19:42:19 +01:00  
				
					
						
							
							
								 
						
							
								b4ea0fd6f6 
								
							 
						 
						
							
							
								
								fix lint issues  
							
							... 
							
							
							
							These lint issues remain:
- request-errors.go, aliases for new error types
- request-attrs.go, UidGid. Changing this will break compatibility 
							
						 
						
							2019-08-30 17:04:37 +02:00  
				
					
						
							
							
								 
						
							
								167a495725 
								
							 
						 
						
							
							
								
								packet, server: use a single read-only check  
							
							
							
						 
						
							2016-01-11 11:50:10 -05:00  
				
					
						
							
							
								 
						
							
								9374ae613d 
								
							 
						 
						
							
							
								
								*: golint: add and fix up comments on exported types  
							
							
							
						 
						
							2016-01-07 15:16:34 -05:00  
				
					
						
							
							
								 
						
							
								b348482b1a 
								
							 
						 
						
							
							
								
								*: golint (part 1)  
							
							
							
						 
						
							2016-01-07 12:10:24 -05:00  
				
					
						
							
							
								 
						
							
								5b6348f034 
								
							 
						 
						
							
							
								
								version, lstat  
							
							
							
						 
						
							2015-07-25 01:19:29 -07:00  
				
					
						
							
							
								 
						
							
								29ed2c7341 
								
							 
						 
						
							
							
								
								Run gofmt  
							
							
							
						 
						
							2014-10-09 21:01:38 +02:00  
				
					
						
							
							
								 
						
							
								ea8e50a388 
								
							 
						 
						
							
							
								
								Remove unused field in fxpOpenPacket  
							
							... 
							
							
							
							Update #14  
							
						 
						
							2014-09-28 13:01:15 +10:00  
				
					
						
							
							
								 
						
							
								c01839afa0 
								
							 
						 
						
							
							
								
								Manually marshal packets for more speed  
							
							
							
						 
						
							2014-09-27 14:29:57 +02:00  
				
					
						
							
							
								 
						
							
								c98099bbd6 
								
							 
						 
						
							
							
								
								Fix test  
							
							
							
						 
						
							2014-05-25 14:27:01 +10:00  
				
					
						
							
							
								 
						
							
								2a93daf2d0 
								
							 
						 
						
							
							
								
								made all constants private  
							
							
							
						 
						
							2013-11-06 19:10:28 +11:00  
				
					
						
							
							
								 
						
							
								6ce8872642 
								
							 
						 
						
							
							
								
								Added recvPacket  
							
							
							
						 
						
							2013-11-05 14:36:38 +11:00  
				
					
						
							
							
								 
						
							
								9187a3b3b2 
								
							 
						 
						
							
							
								
								adedd string unmarshal  
							
							
							
						 
						
							2013-11-05 12:31:20 +11:00  
				
					
						
							
							
								 
						
							
								30b997f450 
								
							 
						 
						
							
							
								
								added unmarhshal for uint32/64 yptes  
							
							
							
						 
						
							2013-11-05 12:23:48 +11:00  
				
					
						
							
							
								 
						
							
								049a0ff391 
								
							 
						 
						
							
							
								
								implement rudamentary reflect based marshalling  
							
							
							
						 
						
							2013-11-05 12:03:58 +11:00  
				
					
						
							
							
								 
						
							
								b17decee5f 
								
							 
						 
						
							
							
								
								added generic marshal  
							
							
							
						 
						
							2013-11-05 11:36:47 +11:00  
				
					
						
							
							
								 
						
							
								fbcab0566f 
								
							 
						 
						
							
							
								
								Added initial message tests  
							
							
							
						 
						
							2013-11-05 11:25:17 +11:00