Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9375362044
								
							
								
							
						 | 
						
							
							
								
								Revert "Use a unique event structure for each client added to the epoll list"
							
							
							
							
							
							
							
							This reverts commit 8f1336986f.
Unnecessary. 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8f1336986f
								
							
								
							
						 | 
						
							
							
								
								Use a unique event structure for each client added to the epoll list
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6a159bf5dc
								
							
								
							
						 | 
						
							
							
								
								We won't get no error if we are not testing fd -1 sockets any more, and use errno for consistent parsing of socket close errors
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c6ae644d53
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								62d1ec3f8a
								
							
								
							
						 | 
						
							
							
								
								Use signal handlers from sender and receiver threads in the connector avoid needing to pthread tryjoin on every message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2bde0bbe3d
								
							
								
							
						 | 
						
							
							
								
								Avoid trying to parse messages or test the client's error if their fd has already been invalidated
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								2561eff1cb
								
							
								
							
						 | 
						
							
							
								
								Update user auth time on each successful auth
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d0f7ec7c35
								
							
								
							
						 | 
						
							
							
								
								Decrease verbosity of missing client warning in receiver, adding id number to the output
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								4f6776a4c3
								
							
								
							
						 | 
						
							
							
								
								Allow specifying of the socket name to use in ckpmsg
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								fd73ebe3ae
								
							
								
							
						 | 
						
							
							
								
								Send port number as a string on reconnect as most clients will be expecting it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								94dbd802a2
								
							
								
							
						 | 
						
							
							
								
								Wait longer after kill message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								22ece7b96c
								
							
								
							
						 | 
						
							
							
								
								Revert "Don't use MSG_WAITALL on unix sockets"
							
							
							
							
							
							
							
							This reverts commit 24d89a3e72.
Do use it... 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6c0c7dd7c4
								
							
								
							
						 | 
						
							
							
								
								Rework parse_client_msg to use the non blocking recv return values avoiding the need for an extra wait_read_select
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								84ca31fcca
								
							
								
							
						 | 
						
							
							
								
								Drop stratifier id when client id is not found in connector
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5633f8365d
								
							
								
							
						 | 
						
							
							
								
								Prevent theoretical read out of bounds
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								93d5760b2d
								
							
								
							
						 | 
						
							
							
								
								Set server to the passthrough server client in passthrough mode
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e095ba4b49
								
							
								
							
						 | 
						
							
							
								
								Mask out error 0 in socket error messages
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								3f3dc7f4f3
								
							
								
							
						 | 
						
							
							
								
								Implement a stratum mining.term call which notifies the stratifier this client is terminating and use it to signal upstream pools when passthrough subclients have disconnected
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e9441f2e1a
								
							
								
							
						 | 
						
							
							
								
								Drop passthrough proxy connection from stratifier
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8bb50fa058
								
							
								
							
						 | 
						
							
							
								
								Process epoll read messages before hangups and errors and add more info about the type of hang up, increasing verbosity when it's an unexpected error
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0b96be0144
								
							
								
							
						 | 
						
							
							
								
								Use non blocking receive in parse_client_msg as we check for read readiness with wait_read_select first, and there is the unlikely event the state changes
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6e7f39321d
								
							
								
							
						 | 
						
							
							
								
								We are not interested in POLLIN in wait_close but any mode of a closed socket
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2cc42376bd
								
							
								
							
						 | 
						
							
							
								
								Check also for POLLRDHUP in wait/read write select helpers
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								24d89a3e72
								
							
								
							
						 | 
						
							
							
								
								Don't use MSG_WAITALL on unix sockets
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								da2f62aea9
								
							
								
							
						 | 
						
							
							
								
								Pass through the downstream clients' address and server
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ae2b00842b
								
							
								
							
						 | 
						
							
							
								
								Allow unauthorised clients to send other messages till they've authorised but silently ignore them
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								040dddc6ec
								
							
								
							
						 | 
						
							
							
								
								ckdb - allocate seqnam with the full name and use it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								bf72ebbee6
								
							
								
							
						 | 
						
							
							
								
								Reinstate checking for zero as a return from recv for cleanly disconnected clients
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								52a380a90b
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								70379428d6
								
							
								
							
						 | 
						
							
							
								
								Steal copied id_vals in the stratifier to avoid needing to copy them again, thus allowing opaque objects to be used as id values
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								20397ff4a4
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								1c32d78295
								
							
								
							
						 | 
						
							
							
								
								ckdb - remove 'maybe'-not warnings by NULLing variables
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								75d24d1d07
								
							
								
							
						 | 
						
							
							
								
								Reference clients in the epoll list by their client id to avoid double lookup and possible wrong client selection
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								88fcb55faa
								
							
								
							
						 | 
						
							
							
								
								Revert "Check clients match in epoll loop"
							
							
							
							
							
							
							
							This reverts commit b50f2ba86c.
Wrong 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								138f5f99ac
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b50f2ba86c
								
							
								
							
						 | 
						
							
							
								
								Check clients match in epoll loop
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e012108280
								
							
								
							
						 | 
						
							
							
								
								Explicitly check for EPOLLRDHUP as well
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								a83c283b1f
								
							
								
							
						 | 
						
							
							
								
								ckdb - report the set number of new seqsets
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								c43375e1ac
								
							
								
							
						 | 
						
							
							
								
								ckdb - text typo
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								3a8b793fbb
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								1d25cb88b0
								
							
								
							
						 | 
						
							
							
								
								ckdb - ensure expected duplicates are debug only and don't stop the reload early
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								91d2aca51f
								
							
								
							
						 | 
						
							
							
								
								Detect pollhup in wait_read_select and not through recv fail conditions
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								57e3aa83c6
								
							
								
							
						 | 
						
							
							
								
								Differentiate pollin from pollhup in wait_read_select
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								8313628629
								
							
								
							
						 | 
						
							
							
								
								Differentiate ready for writes from hangups in wait_write_select
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								49ce587949
								
							
								
							
						 | 
						
							
							
								
								nolinger client sockets when we're about to close them
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								caeee9b322
								
							
								
							
						 | 
						
							
							
								
								ckdb - add klist insert_after and general null checking to report calling line
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								da20ac7f3e
								
							
								
							
						 | 
						
							
							
								
								Disable user of nolinger on client sockets
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								f1c6fec720
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								19bce29d1c
								
							
								
							
						 | 
						
							
							
								
								ckdb - add a share status console report command shsta
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								fa38324af4
								
							
								
							
						 | 
						
							
							
								
								ckdb - make the terminate sequence report external
							
							
							
							
							
						 | 
						
							11 years ago |