Markus Makela
601eac5a5d
Fixed parent-child code being called in non-daemon mode.
2015-09-18 17:26:27 +03:00
MassimilianoPinto
d192cee0a1
Fixed Log message to 2015
...
Fixed Log message to 2015
2015-09-18 09:49:22 +02:00
Markus Makela
8a996029bc
Merge branch 'MXS-35' into develop
2015-09-15 11:50:36 +03:00
Markus Makela
bbc0116cd2
Moved the writing to and closing of the parent-child pipe to a separate function.
2015-09-15 10:52:37 +03:00
Johan Wikman
37f8148574
MXS-362: Enable/disable log augmentation
...
Log message augmentation (appending of function name) can now
be enabled or disabled via the configuration file and command
line.
By default, the augmentation is disabled.
2015-09-11 15:58:31 +03:00
MassimilianoPinto
ad0becae48
Copyright set to 2015
...
Copyright set to 2015
2015-09-07 14:39:55 +02:00
Markus Makela
0febf23992
Removed LOGIF macros which prevented implicit initialization of the log manager.
2015-09-07 09:41:57 +03:00
Johan Wikman
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
Markus Makela
30cdda48c6
The datadir path is now used as the location where the process specific data directories are created.
2015-09-03 19:30:16 +03:00
Markus Makela
e55d345ab4
Added --version-full which prints version and commit ID.
2015-09-02 10:58:41 +03:00
Markus Makela
77a49e8cbd
Removed magic numbers.
2015-09-01 14:31:35 +03:00
Markus Makela
e839dafdd0
Cleaned up code.
2015-09-01 14:31:35 +03:00
Markus Makela
386fa78a30
Fix to MXS-342: https://mariadb.atlassian.net/browse/MXS-342
...
Added more error messaging when the parsing of the configuration file fails.
2015-09-01 14:31:35 +03:00
Markus Makela
9fe479e679
Cleaned up code.
2015-09-01 10:11:20 +03:00
Markus Makela
28a6ea90c0
Added more details to log output when MaxScale receives a fatal signal.
2015-09-01 10:11:20 +03:00
Markus Makela
0c552bab29
Fix to MXS-35: https://mariadb.atlassian.net/browse/MXS-35
...
The parent process now correctly returns the value from the child process.
2015-08-27 14:22:58 +03:00
Markus Makela
1658e3d704
Added more verbose error messages and fixed bugs.
2015-08-25 15:20:10 +03:00
Markus Makela
f58e7af94d
Added a define for the PID file desciptor initial value.
2015-08-25 15:20:10 +03:00
Markus Makela
372403760c
Cleaned up code.
2015-08-25 15:20:10 +03:00
Markus Makela
063c8f904a
Fixed wrong file open mode.
2015-08-25 15:20:10 +03:00
Markus Makela
0a33174803
Added PID file locks and cleaned up code.
2015-08-25 15:20:10 +03:00
Markus Makela
1dd22a4d2c
Cleaned up code and error messages.
2015-08-25 15:20:10 +03:00
Markus Makela
b1d6096fa8
Added a check for running MaxScale processes.
2015-08-25 15:20:10 +03:00
Markus Makela
98ab399e6e
Changed sprintf calls to snprintf calls and fixed compiler warnings.
2015-08-18 10:50:48 +03:00
Markus Makela
86ad570af8
Fix to MXS-310: https://mariadb.atlassian.net/browse/MXS-310
...
The dumpable flag is now reset to true after the uid is changed.
2015-08-16 18:15:16 +03:00
Markus Makela
d6b587ad59
Fixed bad directory names in config not causing MaxScale to exit.
2015-08-11 21:07:11 +03:00
Markus Makela
37ea3a6224
Fixed error on bad log directory.
2015-08-10 18:25:46 +03:00
Markus Makela
0abcf349ff
Partial merge of MXS-70
2015-08-10 17:33:40 +03:00
Markus Makela
bcb44ed70d
Fixed PID file name.
2015-08-10 10:34:22 +03:00
Markus Makela
710cfbd6c5
Fixed custom directory locations not working.
2015-08-07 19:22:26 +03:00
Markus Makela
ba32596603
Fixed MM monitor segfault on crash.
2015-08-07 14:00:55 +03:00
Markus Makela
998ef6c949
Added SIGCHLD handler.
2015-07-24 12:05:09 +03:00
counterpoint
cc24777a90
Correct mkdir logic for default log directory.
2015-07-01 09:46:01 +01:00
Markus Makela
61bee570d1
Fixed build failures due to old OpenSSL libraries.
2015-06-25 11:56:27 +03:00
Markus Makela
577371d038
Moved SSL spinlock initialization to be done after thread initialization.
2015-06-24 16:56:27 +03:00
Markus Makela
047985fb91
Fixed SSL thread locking functions not being used.
2015-06-24 15:26:35 +03:00
Markus Makela
13fb88ea07
Added optional code for older OpenSSL library versions.
2015-06-24 11:29:43 +03:00
Markus Makela
acd649cdc4
Reverted back to older OpenSSL functions for compatibility support.
2015-06-17 18:18:40 +03:00
Markus Makela
f602121459
Added configurable SSL certificate verification depth and updated the documentation in the code.
2015-06-12 21:21:06 +03:00
Markus Makela
5936916e04
Merge branch 'develop' into MXS-129
2015-06-12 13:53:41 +03:00
Markus Makela
f24da8712b
Fixed a segfault and disabled syslog by default.
2015-06-11 18:25:42 +03:00
Markus Makela
bb427128a9
Fixed successful SSL_accept calls causing another call to SSL_accept.
2015-06-11 12:00:03 +03:00
Markus Makela
1ad1a31ed7
Fixed the OpenSSL error stack being printed wrong.
2015-06-09 17:18:25 +03:00
Markus Makela
76655e7136
Added a call to a library function which adds all algorithms to OpenSSL to the SSL initialization code.
2015-06-02 06:04:06 +03:00
Markus Makela
a2768955e7
SSL handshake now successfully completes when a client connects with SSL enabled.
2015-06-01 13:50:22 +03:00
Markus Makela
4cbcc4ecb6
Removed old unused cmake variables, updated documentation and fixed testall suite.
2015-05-26 15:12:29 +03:00
Markus Makela
5f076b81d4
Merge branch 'install_dir_change' into develop
...
Conflicts:
CMakeLists.txt
Documentation/Tutorials/Administration-Tutorial.md
log_manager/CMakeLists.txt
server/core/CMakeLists.txt
server/core/gateway.c
server/core/maxkeys.c
server/core/maxpasswd.c
server/modules/filter/test/CMakeLists.txt
server/modules/routing/CMakeLists.txt
2015-05-26 13:34:39 +03:00
Markus Makela
0d85ae6603
Changed data directory to /var/lib/maxscale.
2015-05-22 11:31:22 +03:00
Markus Makela
a6701ee786
Added missing newline to usage output.
2015-05-14 15:42:49 +03:00
Markus Makela
63060d1233
Added possibility to run as non-root user.
2015-05-10 06:27:41 +03:00