Massimiliano Pinto
d5590c6d0e
Removed unused vars and fixed warnings, mysql_backend.c is still missing
2013-06-26 10:27:25 +02:00
Massimiliano Pinto
2663c38708
Unused vars and commend removed
2013-06-25 16:29:09 +02:00
Mark Riddoch
2ae40546f9
Addition of global configuration section
...
Definition of the number of polling threads
Implementation of multiple polling threads
2013-06-25 12:02:39 +02:00
Massimiliano Pinto
368c4cf781
Unused vars removed
2013-06-24 18:42:24 +02:00
Massimiliano Pinto
41ddbbea97
Fixed gw_hex2bin: problems calling char_val.
...
If we want tu use a compact implementation, we should use
static inline uint8 char_val(uint8 X)
{
return (uint) (X >= '0' && X <= '9' ? X-'0' :
X >= 'A' && X <= 'Z' ? X-'A'+10 : X-'a'+10);
}
2013-06-24 13:43:01 +02:00
Mark Riddoch
0fc2f9dda3
Removed the passing of epoll fd and isolated epoll functionality to
...
a signle file
Addition of show epoll debug CLI command
2013-06-19 16:29:52 +02:00
Mark Riddoch
1300c5d089
Addition of dependencies to the makefile
...
New make target of "make depend"
Addition of doxygen building ability
Cleanup of docygen comment blocks
Initial telnetd protocol module structure
2013-06-17 14:03:05 +02:00
Massimiliano Pinto
a5e1441cb8
Some fprintf removed.
...
Fixed an if statement without brackets
2013-06-13 18:38:03 +02:00
Massimiliano Pinto
269bef8280
Authentication FAILED triggers client and backend connection close.
...
mysqlslap tests show some memory is nod deallocated, probably some gwbuffer incorrect use or the error handling is not triggering any consume action on buffers.
2013-06-13 18:09:14 +02:00
Massimiliano Pinto
bf36f01c33
Initial work on client flags(comprtess, client connect with db), next is authentication check
2013-06-13 10:13:43 +02:00
Massimiliano Pinto
84ec7ffd51
Some fprintf has been removed
2013-06-13 00:31:35 +02:00
Massimiliano Pinto
368ce2d8b7
New funcion for reading and store data in gwbuff, and its use in reading from client
2013-06-12 23:58:41 +02:00
Mark Riddoch
a9bcc3841a
Converted mysql_send_ok and MySQLSendHandshake to use the new buffer management
...
Also added the -p option to set listener port. This is a short term measure for testing only
until we have the proper configuration in place.
2013-06-12 17:13:04 +01:00
Massimiliano Pinto
82b70e3877
New version, state2string updated
2013-06-12 17:18:22 +02:00
Massimiliano Pinto
2cf646d948
in utils.c see line 88 for modifications
2013-06-12 15:15:09 +02:00
Mark Riddoch
08549ad5ae
Addition of some basic statistics on the DCB
2013-06-12 13:08:33 +01:00
Mark Riddoch
c7f533abaf
Split the backend read function as an example, this still needs to be reorganised into protocols
...
Addition of DCB diagnostics, and free routine
2013-06-12 12:57:09 +01:00
Mark Riddoch
329a70eccd
Addition of example buffer handling
2013-06-12 10:01:02 +01:00
Mark Riddoch
e820e36aa3
Updated structure and added makefile
2013-06-11 14:58:21 +01:00