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

266 Commits

Author SHA1 Message Date
hvlad
85531a3b49 Fixed bug CORE-2670 : FB 2.5 freezes during data pump operations 2009-12-04 11:44:01 +00:00
dimitr
c122909ec6 Fixed CORE-2742: Server may stop responding to a particular client attachment under some conditions.
Credits belong to Vlad ;-)
2009-11-09 09:32:17 +00:00
dimitr
70b28297c1 Fixed the POSIX build. 2009-08-18 07:35:29 +00:00
dimitr
6f887cb6dc More information about unexpected failures. 2009-08-13 10:07:53 +00:00
dimitr
9a34d50e99 1) Let's process unexpected port disconnections gracefully.
2) Don't allow any untrapped exceptions to leave loopThread.
2009-08-13 09:52:56 +00:00
dimitr
d6c79a4203 Fixed two issues for the case of non-authorized op_connect_request:
1) Missing error reporting which makes the client to stall forever
2) CORE-2563: Possible DoS attack using the malformed packet sent into the connection port
2009-07-20 14:05:39 +00:00
robocop
2ca526b779 Style. 2009-06-28 10:26:25 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
robocop
b578ec50dc Put bad_port_context() in alphabetical order and created a little helper, send_error(). 2009-06-09 12:52:19 +00:00
alexpeshkoff
4a0ab87d6b Use PORT_FILE for port file lock - thanks to Claudio 2009-06-09 11:06:57 +00:00
alexpeshkoff
40fa68971c Make it compile on posix 2009-06-09 08:39:29 +00:00
robocop
01cfec77b1 Paranoid checks. 2009-06-09 08:20:51 +00:00
robocop
044276cdc0 Style. 2009-06-09 05:55:17 +00:00
dimitr
ae1de3f245 CORE-2263: RemoteAuxPort for SuperClassic and regular Classic.
This change also fixes the possible races in SuperServer (possible after getting rid of the global mutex in the remote subsystem).
2009-06-08 12:21:31 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
alexpeshkoff
46527f2084 MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements. 2009-05-27 07:57:06 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
alexpeshkoff
9b0950da7a Fixed CORE-2306: fbserver terminated abnormally when thread start failed 2009-04-24 15:51:40 +00:00
robocop
754b185c10 Comments. 2009-04-18 09:58:31 +00:00
asfernandes
e707efaa1d Misc 2009-04-16 01:09:12 +00:00
robocop
ee08d55b01 Comments. 2009-04-15 14:18:20 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
hvlad
d443178d0f More complete fix for bug CORE-2368 : AV after isc_cancel_events if event was not found 2009-03-23 17:20:51 +00:00
alexpeshkoff
ac92e643e6 Cleanup - events delivery using unix signals is not used any more 2009-03-16 16:31:51 +00:00
hvlad
428204cdf8 Fixed bug CORE-2368 : AV after isc_cancel_events if event was not found 2009-03-12 08:06:26 +00:00
asfernandes
9d086d289c Misc 2009-03-05 00:52:25 +00:00
robocop
4dc1d3d144 Misc. 2009-03-04 12:13:32 +00:00
hvlad
fd2099aa96 Fixed bug CORE-2349 : False "Invalid SQLDA" error 2009-03-03 12:00:29 +00:00
dimitr
9dca0fa2b7 Correction related to my last commit. 2009-03-02 09:34:37 +00:00
dimitr
fdeb9d6e53 Fixed the "bad handle" error reporting in the remote server. 2009-02-28 13:12:37 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
asfernandes
cd010ff939 Misc 2009-01-17 19:07:07 +00:00
robocop
546290b68b Style. 2009-01-16 09:55:38 +00:00
robocop
f1fab1b53c Style. 2009-01-14 12:37:23 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
asfernandes
a177d28d60 Misc 2008-12-31 20:22:10 +00:00
alexpeshkoff
4b20155e75 Fixed CORE-2262: Client connection is abruptly terminated 2008-12-30 15:23:06 +00:00
hvlad
df3c623874 Fixed bug CORE-2248 : AV in server.cpp\loopThread()
Removed not needed check for request's port in parent port clients list as
a) this check not needed anymore
b) this loop is performance killer
2008-12-19 09:01:44 +00:00
robocop
d39690fbff Style (and let lines grow up to 100 columns). 2008-12-04 09:29:16 +00:00
robocop
9f52942ab0 Style. 2008-12-02 07:09:49 +00:00
hvlad
ca8b78bcff Make WNET use overlapped (non-blocking) IO. It allows to break blocked IO operations and implement force_close() call correctly.
Also don't write in firebird.log "FileRead end-of-file" error on clean disconnect and don't write more than one OS error on the same port.
2008-11-30 11:47:30 +00:00
asfernandes
db82e7cd6b Misc 2008-11-06 00:23:21 +00:00
hvlad
7918aaa256 Fixed AV in CS worker process (there was double deallocation of port).
Avoid wrong error message in firebird.log when listener is shutted down.
2008-11-04 14:22:51 +00:00
dimitr
4c05d2d8dd Fixed CORE-2137: Database restore may crash the server when DummyPacketInterval is set. 2008-10-22 15:43:16 +00:00
alexpeshkoff
065c4b0430 Disconnect all ports after shutdown of working threads 2008-10-13 16:04:15 +00:00
alexpeshkoff
38a8b41c7f Avoid annoying messages in firebird.log 2008-10-10 15:50:07 +00:00
asfernandes
ac600b29d7 Misc 2008-10-09 00:59:56 +00:00
hvlad
857129d3f7 Initialize local variable 2008-10-04 17:46:31 +00:00
alexpeshkoff
2f803217f8 1. Never shutdown worker threads from fb_shutdown()'s callback -
instead do it at the end of main server loop.

2. Fixed races when worker thread(s) remained running after exit from main().

3. Added better protection by mutex to counter of worker threads.
Avoid possible races when worker thread starts.
2008-10-03 16:22:54 +00:00