|  | cc42707dc0 | The read_buffer pointer must be set to null in situations where the buffer has been freed (or consumed). | 2015-10-13 15:10:55 +02:00 |  | 
			
				
					|  | bb53eb0f6d | Put extra check in hashtable_fetch to return if zero entries (should never happen but will crash if not checked); remove dcb_close from mysql_backend where it closes backend DCBs, as these should be closed by the router. | 2015-10-07 17:06:21 +01:00 |  | 
			
				
					|  | 4f316419c5 | Merge branch 'develop' into MXS-329 | 2015-09-30 12:47:28 +03:00 |  | 
			
				
					|  | 9efad8727a | All warnings removed. Minimal changes to remove warnings when compiling. | 2015-09-25 14:07:19 +03:00 |  | 
			
				
					|  | 1e694a6c7d | Debug messages logged to debug. | 2015-09-25 13:49:30 +03:00 |  | 
			
				
					|  | 2dfb9e3c11 | Merge branch 'develop' into MXS-329 | 2015-09-24 17:59:36 +03:00 |  | 
			
				
					|  | 89667294b3 | Fix exceptional cases in DCB dcb_call_callback and in MySQL backend gw_error_backend_event - close DCB and return. | 2015-09-24 07:39:47 +01:00 |  | 
			
				
					|  | 6a318836fb | Removed obsolete code. The read and write buffers are now emptied in dcb_final_free, so
no need to do it explicitly here. | 2015-09-23 15:16:19 +03:00 |  | 
			
				
					|  | 95a4daecc9 | Add GWBUF_POINTER_IN_BUFFER macro; add extra free calls to remove memory leaks. | 2015-09-22 11:54:47 +01:00 |  | 
			
				
					|  | 7aa36b77ea | Guarantee router session is present for call to clientReply; properly free callbacks; attempt to set all necessary values for dbusers; do more to ensure buffers freed. | 2015-09-21 14:25:12 +01:00 |  | 
			
				
					|  | 11c8ef5b92 | Cleaned up code based on the review of the code. | 2015-09-21 14:02:01 +03:00 |  | 
			
				
					|  | 988a8d7008 | Fixed error messages not being printed and cleaned up the function. | 2015-09-21 14:02:01 +03:00 |  | 
			
				
					|  | 88716c35fb | Various changes to block loopholes in different cases and tidy up. | 2015-09-21 09:23:22 +01:00 |  | 
			
				
					|  | e507933c48 | Need to mark the DCB dcb_errhandle_called indicator if the router error handler is not called. | 2015-09-18 09:19:32 +01:00 |  | 
			
				
					|  | f3560512ff | Suppress call to router error handling where there is no router session. | 2015-09-18 09:04:32 +01:00 |  | 
			
				
					|  | c69658889c | Handle client input case where no router session exists by sending error message to client. | 2015-09-18 08:59:06 +01:00 |  | 
			
				
					|  | 0cba9b797f | Changes to deal with failed session creation by keeping the new session in existence until all related DCBs have closed; minor changes in response to reviews. | 2015-09-17 08:15:32 +01:00 |  | 
			
				
					|  | 743fb5774b | Improved logging. | 2015-09-11 18:49:20 +03:00 |  | 
			
				
					|  | cfeaf7d6e9 | Merge remote-tracking branch 'origin/develop' into MXS-329 Conflicts:
	server/core/session.c | 2015-09-10 13:07:27 +01:00 |  | 
			
				
					|  | 296e306daa | Set session pointer to client dcb to null when dcb is closed. | 2015-09-10 12:54:44 +01:00 |  | 
			
				
					|  | 9f01d0ec3f | Fix type. | 2015-09-10 10:54:33 +01:00 |  | 
			
				
					|  | f6916a23bd | Move responsibility for closing DCB on error to router error handling. Check that routers remove or disable links to closed DCB. | 2015-09-09 09:33:00 +01:00 |  | 
			
				
					|  | 986c918d52 | Remove ERRACT_RESET action from router error handler; remove sole call from mysql_client. Correct comments on parameters for router error handlers. | 2015-09-09 08:31:59 +01:00 |  | 
			
				
					|  | 160bbb70ee | MXS-251: strerror Replaces all calls to strerror with calls to strerror_r. The former
is non-thread safe while the latter is. | 2015-09-05 15:52:13 +03:00 |  | 
			
				
					|  | 4a1ad3df69 | Attempt solution to crash caused by leaving link to backend DCB in router session. | 2015-09-05 08:53:19 +01:00 |  | 
			
				
					|  | d74990833b | Move capture of user name for persistent connections; expand error message in mysql client to give more information. | 2015-09-01 09:59:34 +01:00 |  | 
			
				
					|  | c564b40c54 | Fixed gw_send_authentication_to_backend expecting a negative return value when dcb_write fails. | 2015-08-31 10:23:51 +03:00 |  | 
			
				
					|  | b6f5108d29 | Fix for MXS-335 Response handling as aborted if there is not enough data. | 2015-08-31 08:30:21 +03:00 |  | 
			
				
					|  | a711b25fec | Improve user name setting in DCB for persistent connections and to fix bug; change name of session_alloc_dummy to session_set_dummy to be more informative. | 2015-08-28 18:20:32 +01:00 |  | 
			
				
					|  | 068ec77d05 | Fix bugs. | 2015-08-28 16:44:40 +01:00 |  | 
			
				
					|  | 9c5f622481 | Additional spinlock in random_jkiss.  Initial attempt at implementing dummy sessions to provide total consistency - used in mysql_client in relation to authentication - a single static dummy session is used and linked from the client dcb when authentication is not yet complete. | 2015-08-28 15:30:06 +01:00 |  | 
			
				
					|  | 37ac158791 | Changes to try to eliminate setting dcb->session to NULL with risk of crashing system. | 2015-08-24 12:12:43 +01:00 |  | 
			
				
					|  | 8a362d6668 | Fixed memory leaks in maxinfo.c and httpd.c | 2015-08-21 08:08:45 +03:00 |  | 
			
				
					|  | 2d9814e0f3 | Fix to MXS-270: https://mariadb.atlassian.net/browse/MXS-270 Prepared statement query responses in multiple buffers are now handled properly. | 2015-08-19 17:48:24 +03:00 |  | 
			
				
					|  | 501ea8ffc2 | Removed a debug assertion which was triggered with a valid query and added more logging. | 2015-08-17 22:42:04 +03:00 |  | 
			
				
					|  | 458598141b | Added checks for possible NULL value and out-of-bounds reads. | 2015-08-16 22:30:04 +03:00 |  | 
			
				
					|  | a74ed87d07 | Removed redundant linking of the utils library. | 2015-08-10 10:40:00 +03:00 |  | 
			
				
					|  | c6389287ba | Fixed TCP_NODELAY being applied to sockets. | 2015-07-23 17:59:48 +03:00 |  | 
			
				
					|  | e48b70f62f | Fixed memory leaks with SSL connections. | 2015-07-23 15:47:48 +03:00 |  | 
			
				
					|  | bb1f26eda5 | Fixes for maintainability of dcb.c; error in persistent connections. | 2015-07-19 16:48:24 +01:00 |  | 
			
				
					|  | 78eab19c62 | Fixed compiler warnings. | 2015-07-14 17:13:09 +03:00 |  | 
			
				
					|  | 3992f262ca | Fixed Coverity defects | 2015-07-14 16:17:50 +03:00 |  | 
			
				
					|  | 206f93e3ec | Fixed missing return values. | 2015-07-11 19:02:01 +03:00 |  | 
			
				
					|  | 6497350ab7 | Merge branch 'release-1.2' into develop Conflicts:
	server/core/adminusers.c
	server/modules/protocol/mysql_client.c | 2015-07-11 17:12:48 +03:00 |  | 
			
				
					|  | 4f5de063eb | Merged dcb_read and dcb_read_n into a single function (dcb_read with an extra parameter). | 2015-07-10 15:12:22 +01:00 |  | 
			
				
					|  | ba417ef633 | Merge remote-tracking branch 'origin/develop' into MXS-122 Conflicts:
	server/core/dcb.c | 2015-07-08 14:54:22 +01:00 |  | 
			
				
					|  | 4c8aa02c31 | Finalise comments; change abort from assert(false) to raise(SIGABRT). | 2015-07-07 16:57:13 +01:00 |  | 
			
				
					|  | be789855ee | Add lines to revision history. | 2015-07-07 16:57:12 +01:00 |  | 
			
				
					|  | fffd8fb73a | Unify DCB close processing to single function dcb_close. Remove dcb_add_to_zombieslist (incorporating logic into dcb_close). Alter logic so that DCB that is just allocated will still go to zombie list if dcb->fd is not closed. | 2015-07-07 16:57:12 +01:00 |  | 
			
				
					|  | 44fcb9bc31 | Fix for incorrect password handling. | 2015-07-07 16:57:12 +01:00 |  |