8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 20:03:03 +01:00
Commit Graph

1458 Commits

Author SHA1 Message Date
hvlad
3c80ce03c2 Fixed bug CORE-5120 : Firebird 3.0 + fbclient 3.0 - POST_EVENT won't work 2016-04-26 19:01:30 +03:00
hvlad
9ae426a757 Please MSVC14:
-add space before XXXFORMAT macros to not confuse it with user-defined literals

-use existing snprintf

This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 12:33:26 +02:00
hvlad
7f73f02d80 Fixed "bug" CORE-5139 : mistake in comment "can't ise MutexLockGuard here" 2016-03-15 10:42:03 +00:00
alexpeshkoff
926e3d903e Fixed some asserts and segfaults in crypto manager
Disable simultaneous nbackup & encrypt/decrypt operation
2016-02-26 12:55:34 +00:00
alexpeshkoff
eacbf41269 Fixed CORE-5082: Server does not validate correctness of user/password pair provided in EXECUTE STATEMENT operator 2016-01-24 17:58:28 +00:00
alexpeshkoff
315332944b Use correct error code 2016-01-24 17:53:12 +00:00
asfernandes
052af7edd4 Misc. 2016-01-17 01:46:26 +00:00
hvlad
737b5f81ac IPv6 address could contain percent sign inside, therefore make sure error string not used as vfprintf format string by gds__log().
See also comments at CORE-2493.
2016-01-13 09:35:23 +00:00
hvlad
9e5c39acac Addition to the patch for CORE-2493.
Always ask for numeric form of service name
2016-01-11 13:46:41 +00:00
hvlad
2820ede430 Improvement CORE-2493 : Append the IP address of the remote host to error messages in firebird.log for TCP connections 2016-01-10 14:20:47 +00:00
alexpeshkoff
0558b970fe Fixed CORE-5047: mapUser() routine establish secondary attach using wrong provider 2015-12-29 14:39:00 +00:00
robocop
539fd4d80e Misc. 2015-12-25 01:08:17 +00:00
alexpeshkoff
df2fb331cf Fixed CORE-4964: Real errors during connect to security database are hidden by Srp user manager. Errors should be logged no matter what AuthServer is used. (taking into an account Sean's request re. special error for system-related problems) 2015-12-22 17:53:30 +00:00
alexpeshkoff
fde2d8fe85 Postfix for CORE-5032: error handling was broken, therefore checked for invalid error code 2015-12-17 15:14:51 +00:00
hvlad
f9d5a233e5 Let XNET client returns correct isc_network_error in case of not running XNET server.
Before it returns isc_unavailable and fools y-valve.
2015-12-17 11:28:52 +00:00
alexpeshkoff
3c3dbf657b Fixed CORE-5032: Cannot connect to a database which have own security database without security3.fdb 2015-12-16 17:12:53 +00:00
asfernandes
35dc963ebd Misc. 2015-12-06 22:49:24 +00:00
hvlad
12e47cc087 Avoid reporting of "SERVER/process_packet: broken port, server exiting" message for already detached port (affects CS only) 2015-11-23 16:08:38 +00:00
hvlad
14fb40a597 Refactor xnet module to separate client and server parts (endpoints).
It fixed bug CORE-5029 : AV in fbclient when multi-threaded application uses XNET protocol
and allows in the future to implement client ability to specify target server endpoint name 
at connection level (currently it is set in firebird.conf).
2015-11-23 16:06:10 +00:00
asfernandes
313bff3a8f Misc. 2015-11-20 00:33:06 +00:00
asfernandes
e757290c05 Fix bad indentation. 2015-11-20 00:25:32 +00:00
asfernandes
85cae875bf Misc. 2015-11-18 01:10:08 +00:00
alexpeshkoff
0642e9615e Fixed CORE-5017: Interrupt of aux connection during TCP setup phase causes server exit due to unhandled exception 2015-11-15 11:57:39 +00:00
alexpeshkoff
d395ac11eb Postfix for CORE-5014: not good to disconnject same port twice, looks like I and Vlad tried to fix same bug simultaneously 2015-11-13 12:45:32 +00:00
hvlad
9d6b93176c Fixed bug CORE-5015 : AV in engine could happen when ON DISCONNECT trigger posted event 2015-11-12 14:13:33 +00:00
alexpeshkoff
b8f65ccad4 Fixed CORE-5014: Interrupt of aux connection during TCP setup phase causes unclear error messages in firebird.log 2015-11-12 13:43:38 +00:00
hvlad
d0768b2664 Fixed bug CORE-4998 : Both client and server could not close connection after failed authentification 2015-11-09 13:26:52 +00:00
alexpeshkoff
a61fbdfd77 Fixed bug related with IntlParametersBlock noticed by Mark Rotteveel 2015-10-26 15:04:45 +00:00
hvlad
ed727453fa Avoid send over closing socket (it put errors 10058 (WSAESHUTDOWN) in firebird.log) 2015-10-25 13:48:20 +00:00
hvlad
7f5408d8b3 Revert some of my recent changes in socket closing sequence as it causes delays client side on Linux.
It also should fix CORE-4977 : Detach of 3.x database from 3.x Linux client takes much longer than from 3.x Windows client
2015-10-25 13:45:10 +00:00
robocop
1cbaeb9b13 Misc. 2015-10-23 02:50:36 +00:00
hvlad
22daf59b41 It should fix TCS issue with events reported privately by Alex 2015-10-22 10:15:22 +00:00
hvlad
f48a07e4bd Fixed logging WSAEINTR error on shutdown of Classic listener process (Windows-specific).
Error looks like
	INET_connect
	Unable to complete network request to host ...
	Failed to establish a connection.
	A blocking operation was interrupted by a call to WSACancelBlockingCall.
2015-10-19 14:55:09 +00:00
asfernandes
9c334ca1bd Misc. 2015-10-18 01:30:28 +00:00
hvlad
fc4063fa16 Fixed few issues in event's handling code which could lead to AV (CORE-4680).
Fixed few small memory leaks.
2015-10-16 15:30:19 +00:00
hvlad
4068a225b4 Implemented delayed closing of server sockets - it should fix server hang up (see CORE-4680).
Fixed socket disconnect handling to allow graceful shutdown of network connection and avoid a lot of network errors in firebird.log (mostly 10053\10054).
Misc changes.
2015-10-16 15:28:51 +00:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
hvlad
bb93ae8f2a Fixed small memory leak (happens on every auth request) 2015-10-11 08:58:18 +00:00
asfernandes
eb4a6c620c Fix debug code. 2015-10-09 14:47:52 +00:00
alexpeshkoff
2a53f5c9c5 op_crypt is not used here - avoid never executed code 2015-10-07 16:59:49 +00:00
hvlad
2ab15d1e5f It should fix deadlock in fbclient (see CORE-4680).
Thanks to Alex.
2015-10-05 12:59:29 +00:00
alexpeshkoff
8400f91796 Better statrtup error diags 2015-07-26 18:09:59 +00:00
dimitr
1776ee04ab This should fix CORE-4872: v3 fbclient cannot work with servers older than v2.5 via the remote protocol. 2015-07-15 12:07:25 +00:00
hvlad
8ccbb7fecf Windows-specific part for CORE-4871 2015-07-15 10:42:15 +00:00
alexpeshkoff
5376c0ed83 Do not use ancient "Connection lost to pipe server" message in local connections 2015-07-13 12:47:35 +00:00
alexpeshkoff
e420019cd4 Fixed CORE-4871: Merge SharedDatabase/SharedCache into single parameter ServerMode, affecting the way how server is started 2015-07-10 13:41:10 +00:00
alexpeshkoff
79541f7684 Fixed CORE-4854: Client library incorrectly handles non-UTF8 representation of international characters in SPB 2015-07-02 15:44:45 +00:00
alexpeshkoff
b692e85f56 Implemented CORE-4851: Apply methods, used for cross security database authentication, to the trace 2015-06-30 16:01:10 +00:00
asfernandes
e9ccc80f8c Misc. 2015-06-13 19:00:28 +00:00
alexpeshkoff
1b6632ac8b Fixed CORE-4811: Make user names behave according to SQL identifiers rules 2015-06-03 13:57:18 +00:00