Florian Westphal
							
						 
					 | 
					
						
						
							
						
						5b2364b236
					 | 
					
						
						
							
							merge new resolver code
						
						
						
						
						
						
					 | 
					
						2005-09-12 19:10:20 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						4db29b0076
					 | 
					
						
						
							
							Minimal changes (needed for merging resolver changes)
						
						
						
						
						
						
					 | 
					
						2005-09-11 11:42:48 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						0aae3ec5d7
					 | 
					
						
						
							
							Mostly formatting; changes needed for SSL merge
						
						
						
						
						
						
					 | 
					
						2005-09-10 23:42:12 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						468a1c7767
					 | 
					
						
						
							
							Handle_Write(): Report write attempts on closed sockets when in debug mode.
						
						
						
						
						
						
					 | 
					
						2005-09-05 09:10:08 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						ab3ac4e466
					 | 
					
						
						
							
							Removed obsolete debug message.
						
						
						
						
						
						
					 | 
					
						2005-09-05 08:11:11 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						4d18ac83a2
					 | 
					
						
						
							
							Set one second penalty on unknown commands.
						
						
						
						
						
						
					 | 
					
						2005-09-04 23:42:24 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						660b529c10
					 | 
					
						
						
							
							Add debug code to Conn_SetPenalty().
						
						
						
						
						
						
					 | 
					
						2005-09-04 23:38:32 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						565129f992
					 | 
					
						
						
							
							io_close(): explicitly remove fd from epoll set
						
						
						
						
						
						
					 | 
					
						2005-09-04 13:38:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						fc4cd39202
					 | 
					
						
						
							
							Wait for DNS reverse lookup (and ident request) before writing results to pipe.
						
						
						
						
						
						
					 | 
					
						2005-09-03 11:17:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						6444442931
					 | 
					
						
						
							
							fix fd leak (happens on failure of fork() ).
						
						
						
						
						
						
					 | 
					
						2005-09-02 21:47:30 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						e899c75d7e
					 | 
					
						
						
							
							Updated copyright notice.
						
						
						
						
						
						
					 | 
					
						2005-09-02 17:12:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						cae9a3aee5
					 | 
					
						
						
							
							small formatting change
						
						
						
						
						
						
					 | 
					
						2005-09-02 17:01:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						e708790566
					 | 
					
						
						
							
							JOIN now supports more than one channel key at a time.
						
						
						
						
						
						
					 | 
					
						2005-09-02 15:46:49 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						dd3d2e2c39
					 | 
					
						
						
							
							Complain if MyPassword starts with ':'. (Reported by Ben Korvemaker)
						
						
						
						
						
						
					 | 
					
						2005-09-02 13:58:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						9275dc4dc4
					 | 
					
						
						
							
							reformatted Handle_SERVER()
						
						
						
						
						
						
					 | 
					
						2005-09-02 13:50:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						af9123fd82
					 | 
					
						
						
							
							Cleaned up some code, comments and log/debug messages.
						
						
						
						
						
						
					 | 
					
						2005-09-02 13:28:30 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						ca32c1b311
					 | 
					
						
						
							
							Implementec numeric "333": Time and user name who set a channel topic.
						
						
						
						
						
						
					 | 
					
						2005-09-02 12:50:25 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						a5b5a6a99a
					 | 
					
						
						
							
							Make PONG handler compatible with ngIRCd <= 0.9 ("make it more relaxed").
						
						
						
						
						
						
					 | 
					
						2005-09-01 10:51:24 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						c65343e719
					 | 
					
						
						
							
							reformatted a few lines.
						
						
						
						
						
						
					 | 
					
						2005-08-30 22:08:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						30c11b2313
					 | 
					
						
						
							
							use size_t for array length variables
						
						
						
						
						
						
					 | 
					
						2005-08-30 13:38:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						b7033e1478
					 | 
					
						
						
							
							use size_t instead of unsigned int.
						
						
						
						
						
						
					 | 
					
						2005-08-30 13:36:32 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						db992975eb
					 | 
					
						
						
							
							last cleanup accidentally broke kqueue backend.
						
						
						
						
						
						
					 | 
					
						2005-08-29 13:58:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						c12dc45f17
					 | 
					
						
						
							
							Added prefix to connection statistic NOTICE.
						
						
						
						
						
						
					 | 
					
						2005-08-29 11:11:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						a2e4eb5aaf
					 | 
					
						
						
							
							Fixed server NOTICEs to users with "s" mode ("server messages").
						
						
						
						
						
						
					 | 
					
						2005-08-29 10:58:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						58b8fb5d12
					 | 
					
						
						
							
							remove unneeded variable "bool action"
						
						
						
						
						
						
					 | 
					
						2005-08-28 16:51:20 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						8efeae1714
					 | 
					
						
						
							
							fix embarassing cut&paste error
						
						
						
						
						
						
					 | 
					
						2005-08-28 12:18:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						21ad5dcfff
					 | 
					
						
						
							
							array_cat0_temporary(): removed confusing DEBUG messages
						
						
						
						
						
						
					 | 
					
						2005-08-28 11:47:02 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						4074fd9149
					 | 
					
						
						
							
							Enhanced the handler for PING and PONG commands: fix forwarding and enable
						
						
						
						
						
						
						
						back-passing of a client supplied additional argument of PING. 
						
						
					 | 
					
						2005-08-28 11:40:13 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						2f105b1c0a
					 | 
					
						
						
							
							if the request is empty, remove \r\n (or single \n or \r) from receive buffer.
						
						
						
						
						
						
					 | 
					
						2005-08-28 00:19:29 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						a2cdc08c39
					 | 
					
						
						
							
							fix handling of empty requests
						
						
						
						
						
						
					 | 
					
						2005-08-27 23:42:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						e728bd2e1a
					 | 
					
						
						
							
							Changed handling of timeouts for unregistered connections: don't reset
						
						
						
						
						
						
						
						the counter if data is received and disconnect clients earlier. 
						
						
					 | 
					
						2005-08-27 23:33:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						12e288c062
					 | 
					
						
						
							
							removed misleading const qualifier
						
						
						
						
						
						
					 | 
					
						2005-08-27 23:23:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						f36337fab3
					 | 
					
						
						
							
							fix kevent() warning on powerpc-apple-darwin8-gcc-4.0.0
						
						
						
						
						
						
					 | 
					
						2005-08-27 20:27:07 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						1a46b37bd5
					 | 
					
						
						
							
							remove unneeded call io_event_kqueue_commit_cache()
						
						
						
						
						
						
					 | 
					
						2005-08-27 20:25:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						6434d0b23e
					 | 
					
						
						
							
							return PING argument in PONG reply if STRICT_RFC is not defined.
						
						
						
						
						
						
					 | 
					
						2005-08-27 18:39:56 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						ac96fe5877
					 | 
					
						
						
							
							Changed log level of "Initialization failed" message from ERR to ALERT.
						
						
						
						
						
						
					 | 
					
						2005-08-25 08:48:43 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						a6d1d26a43
					 | 
					
						
						
							
							Fixed line lengths ...
						
						
						
						
						
						
					 | 
					
						2005-08-25 08:40:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						c2f5399b51
					 | 
					
						
						
							
							Fixed format string bug in "connection statistics" message; code cleanups.
						
						
						
						
						
						
					 | 
					
						2005-08-15 23:02:40 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						ae6e6616a6
					 | 
					
						
						
							
							Made test script run a longer time.
						
						
						
						
						
						
					 | 
					
						2005-08-12 21:38:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						a5915f75c9
					 | 
					
						
						
							
							Set timeout.
						
						
						
						
						
						
					 | 
					
						2005-08-12 21:35:12 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						f2ba8abec5
					 | 
					
						
						
							
							Detect source directory correctly.
						
						
						
						
						
						
					 | 
					
						2005-08-12 21:34:19 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						b15d906dff
					 | 
					
						
						
							
							The KILL command killed much more than desired (including server links!)
						
						
						
						
						
						
						
						when the target user is connected to a remote server.  [from 0.9.x] 
						
						
					 | 
					
						2005-08-02 23:19:21 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						1c14e2e0a2
					 | 
					
						
						
							
							Removed some line feeds in debug statements.
						
						
						
						
						
						
					 | 
					
						2005-08-02 22:48:57 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						77f54693ef
					 | 
					
						
						
							
							Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
						
						
						
						
						
						
					 | 
					
						2005-07-31 20:13:07 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Alexander Barton
							
						 
					 | 
					
						
						
							
						
						b61407713d
					 | 
					
						
						
							
							Removed "U" unsignet suffix: caused problems with older compilers and is
						
						
						
						
						
						
						
						not necessary for this constants. 
						
						
					 | 
					
						2005-07-30 22:53:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						51ccb5928a
					 | 
					
						
						
							
							internal changes needed for future ssl support
						
						
						
						
						
						
					 | 
					
						2005-07-29 09:29:47 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						84706af7fe
					 | 
					
						
						
							
							topic no longer limited to 127 chars (now only limited by protocol)
						
						
						
						
						
						
					 | 
					
						2005-07-28 16:23:55 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						46a191caf6
					 | 
					
						
						
							
							changed RES_STAT buffer to array
						
						
						
						
						
						
					 | 
					
						2005-07-28 16:13:09 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						20ff63a8a1
					 | 
					
						
						
							
							add array_cat0_temporary() and array_init()
						
						
						
						
						
						
					 | 
					
						2005-07-28 16:12:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Florian Westphal
							
						 
					 | 
					
						
						
							
						
						2e794a6943
					 | 
					
						
						
							
							Reverse lookup now checks result by additional forward lookup
						
						
						
						
						
						
					 | 
					
						2005-07-25 09:20:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |