834a88aeda
Log variables moved to log_manager.h
...
The log manager variables lm_enabled_log_files_bitmask, log_ses_count
and tls_log_info that earlier were declared separately in every
c-file are now declared in the log_manager.h header.
2015-11-04 14:26:53 +02:00
d57b4cd531
Fix to MXS-54: https://mariadb.atlassian.net/browse/MXS-54
...
Added a new configuration parameter that allows the user to control
whether authentication warning messages are logged.
2015-11-04 09:18:20 +02:00
9cd327a783
Fix to MXS-417: https://mariadb.atlassian.net/browse/MXS-417 Added support for single-character wildcard in IP addresses.
...
Single character wildcard addresses are now properly handled
2015-11-03 10:15:34 +02:00
9b4e8223b4
Removed double check of database name on login.
...
Removed redundant check of the default database when a user with proper
credentials is being authenticated.
2015-11-02 15:54:46 +02:00
24ee9ca675
Removed redundant log messages
...
Moved logging from functions that perform user authentication to the code that
uses these functions. This way the messages are only logged once.
2015-11-02 15:53:02 +02: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
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
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
743fb5774b
Improved logging.
2015-09-11 18:49:20 +03:00
9f01d0ec3f
Fix type.
2015-09-10 10:54:33 +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
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
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
a72f462e2d
Fixes for MXS-196 and other related problems.
2015-07-07 16:57:12 +01:00
fb09cbf100
Fixed queries being routed when the session is already closing.
2015-07-07 13:15:23 +03:00
4759df9f87
Added proper wildcard database grant detection.
2015-06-27 09:08:20 +03:00
011c932c7d
Fix mistake in testing for null password; add contents with links to MaxAdmin reference guide.
2015-06-24 21:44:02 +01:00
e4bde4402b
Fix problem of certain passwords (e.g. joomla1) being treated incorrectly as null MXS-202.
2015-06-24 21:06:56 +01:00
09fdb0a2c2
Hopefully final tidy up.
2015-06-23 14:58:53 +01:00
b880350cf3
Complete merge of latest develop branch
2015-06-22 10:39:13 +01:00
4c38e2224b
Merge remote-tracking branch 'origin/develop' into MXS-122
...
Conflicts:
server/core/CMakeLists.txt
server/core/dcb.c
server/include/dcb.h
server/include/server.h
server/modules/protocol/mysql_backend.c
2015-06-19 23:12:54 +01:00
f0aed1f666
Fixed possible null pointer dereferences in mysql_backend.
2015-06-17 10:05:56 +03:00
84d5af1e00
Throw away poll events that occur for persistent pool DCBs with no related session; fix typos.
2015-06-14 18:19:30 +01:00
f602121459
Added configurable SSL certificate verification depth and updated the documentation in the code.
2015-06-12 21:21:06 +03:00
5936916e04
Merge branch 'develop' into MXS-129
2015-06-12 13:53:41 +03:00
2b2e81feb2
Fix to MXS-181: https://mariadb.atlassian.net/browse/MXS-181
...
Added TCP_NODELAY to socket options.
2015-06-11 19:05:05 +03:00
c15469013e
Fixed non-SSL connections to SSL enabled services failing.
2015-06-10 15:05:39 +03:00
de2910f75b
Fixed SSL_accept failing if the GWBUF with the initial MySQL auth packet contains some of the SSL authentication data.
2015-06-09 22:27:15 +03:00
196d41cb88
More debug output.
2015-06-09 20:02:45 +03:00
152f9bbc4a
Merge remote-tracking branch 'origin/develop' into MXS-122
2015-06-09 13:51:55 +01:00