robocop
4a6dddd02e
Comments.
2009-04-16 06:52:08 +00:00
asfernandes
e707efaa1d
Misc
2009-04-16 01:09:12 +00:00
robocop
ee08d55b01
Comments.
2009-04-15 14:18:20 +00:00
robocop
42e26b034f
Comments.
2009-04-15 13:47:54 +00:00
robocop
09a087e458
Comments.
2009-04-15 13:41:22 +00:00
alexpeshkoff
78ef36a730
cleanup
2009-04-15 09:58:18 +00:00
robocop
1452ca21c1
Misc.
2009-04-15 06:40:17 +00:00
robocop
dea57e9099
Get rid of SCO.
2009-04-15 06:29:00 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
asfernandes
9e0c4f06f2
Misc
2009-04-04 16:28:33 +00:00
alexpeshkoff
77498cac9b
Fixed some warnings
2009-04-03 10:49:07 +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
2c92602c66
Close handle refering to parent process
2009-03-09 01:42:29 +00:00
robocop
cb6849f8a4
Misc.
2009-03-08 12:17:42 +00:00
hvlad
c574a32c39
Fixed bug CORE-2356 : On Windows listener process of Classic Server can't create necessary resources after restart if any worker process was present
2009-03-07 22:25:57 +00:00
hvlad
d4e7e15b85
Correction for my patch re. errors at graceful socket shutdown
2009-03-07 20:21:10 +00:00
asfernandes
9d086d289c
Misc
2009-03-05 00:52:25 +00:00
robocop
4dc1d3d144
Misc.
2009-03-04 12:13:32 +00:00
dimitr
39b6dac932
Fixed the wrong assertion.
2009-03-03 15:25:34 +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
asfernandes
283509ad8d
Misc
2009-03-01 15:42:23 +00:00
alexpeshkoff
4fc28a7195
AIX port - cleanup
2009-03-01 13:23:58 +00:00
hvlad
de11e4037a
Don't report wrong error at graceful socket shutdown.
...
Misc.
2009-03-01 10:35:43 +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
robocop
f309e01a7e
Apply patch from Kovalenko Dmitry (Lipetsk).
2009-02-25 08:08:34 +00:00
robocop
41efd08618
Comment flag that I marked as unused years ago.
2009-02-25 05:38:27 +00:00
asfernandes
b204a1e54f
Misc
2009-02-21 17:43:07 +00:00
alexpeshkoff
c69863bdd5
Clean up - code was not needed since security fix, avoiding use of UID, transfered by client
2009-02-20 16:13:32 +00:00
aafemt
c3cf2052ef
Fix some mistypes that GCC doesn't tolerate
2009-02-17 17:00:22 +00:00
paulbeach
13274ac5a9
Frontport and solve symbol issue for MacOSX
2009-01-21 13:04:36 +00:00
robocop
3689f15321
Style.
2009-01-20 08:33:59 +00:00
robocop
3a03e0515c
Style: aligning the opening and ending braces in switch() statements and in large blocks of code.
2009-01-18 11:36:08 +00:00
asfernandes
cd010ff939
Misc
2009-01-17 19:07:07 +00:00
robocop
5cdbf4cf00
Style.
2009-01-17 10:11:29 +00:00
hvlad
a789c93954
Avoid races - twice close handle of listener port during server shutdown. It was not dangerous but not comfortable for developers as under debugger CloseHandle() throw exception at second close attempt.
2009-01-16 23:58:10 +00:00
dimitr
4e54096846
Misc.
2009-01-16 20:25:31 +00:00
robocop
546290b68b
Style.
2009-01-16 09:55:38 +00:00
alexpeshkoff
832394fd5a
cleanup suggested by Claudio
2009-01-15 10:22:03 +00:00
robocop
f1fab1b53c
Style.
2009-01-14 12:37:23 +00:00
robocop
b627ad2a39
Style.
2009-01-07 09:30:57 +00:00
robocop
fda9c3bc75
Style.
2009-01-05 08:22:58 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +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
robocop
dbb595ad86
Shut up compiler warning (unreachable code).
2008-12-31 05:07:26 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
alexpeshkoff
4b20155e75
Fixed CORE-2262: Client connection is abruptly terminated
2008-12-30 15:23:06 +00:00
alexpeshkoff
9bdb3ecb7c
assertion is wrong for event ports - to be reviewed by Vlad
2008-12-30 15:17:50 +00:00
alexpeshkoff
e7355ab712
misc
2008-12-30 15:16:47 +00:00
dimitr
c714df0aa9
Misc.
2008-12-29 20:57:40 +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
asfernandes
d03b6ede7f
Misc
2008-12-18 01:24:58 +00:00
asfernandes
84dfa0e092
Fixed CORE-316 - Can't open database with MBCS/Extended characters in name.
...
Documentation soon.
2008-12-15 14:59:34 +00:00
robocop
f140cbb7d2
Before I put the "explicit" modifier on AtomicCounter's constructor, the compiler was generating a temporary AtomicCounter on the fly and later assigning it to the target AtomicCounter instance to satisfy an assignment of an integer to an AtomicCounter. I'm not sure we want to allow (and worse, foster) the copying of AtomicCounter instances or temporaries created by the compiler, hence I implemented a new method and fixed the code, but I don't know how to write the best code for one group of platforms in fb_atomic.h, hence I wrote the method with a syntax problem to be caught by someone who knows better.
2008-12-13 09:19:22 +00:00
hvlad
a93f6c32f0
Some thread safety
2008-12-12 10:06:32 +00:00
asfernandes
05947b7afc
Misc
2008-12-12 00:55:03 +00:00
hvlad
ff268a4fb3
Sorry, again some debugging code was left
2008-12-11 11:51:10 +00:00
hvlad
9bcfe005cb
Wait for end of all server's threads (at fb_shut_finish handler) to ensure no threads will access global variables (mutexes) during gds__cleanup phase of process shutdown. It must guarantee no races and AV's during process shutdown.
2008-12-11 11:49:52 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
robocop
d39690fbff
Style (and let lines grow up to 100 columns).
2008-12-04 09:29:16 +00:00
asfernandes
744e83f240
Misc
2008-12-03 01:05:53 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
robocop
eb6ea18df4
Misc.
2008-12-01 09:21:31 +00:00
asfernandes
c1c7a4fb31
Fix Linux build
2008-11-30 20:09:28 +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
hvlad
56e5b9b544
FB_CANCEL_OPERATION supports only by TCP\IP transport currently
2008-11-30 11:41:03 +00:00
hvlad
2b6ba03d63
Implement new option (fb_cancel_abort) for fb_cancel_operation(). It allows forcebly close client port and allow application to shutdown even it wait of execution finish of some long running query. Use carefull !
...
Not implemented for WNET, work in progress.
2008-11-27 22:59:42 +00:00
hvlad
3c8c5b565c
Fixed few bugs for XNET under high load. Improve XNET connections error diagnostics. Don't stop processing XNET incoming connections if one of them failed at initial stage (at XNET_conect).
2008-11-27 22:48:21 +00:00
alexpeshkoff
9ca7135efa
fixed gcc warning
2008-11-24 17:04:29 +00:00
asfernandes
db82e7cd6b
Misc
2008-11-06 00:23:21 +00:00
roman-simakov
4e6eaa17cd
Fixed server crash by right mouse button clicking at server properties page on Windows x64
2008-11-05 16:48:27 +00:00
dimitr
d7d1e1d0a4
Let's don't use system_call_failed() for local exception handling.
2008-11-05 11:24:17 +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
hvlad
a1ccc92d67
Fixed brocken -d mode of CS.
...
Fixed AV in CS worker process (there was double deallocation of port).
Add missed mutex control when port's list accessed.
2008-11-04 14:20:57 +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
dimitr
8e72ece026
Uncouple Mutex and RefMutex. This resolves the circular dependency: "AtomicCounter->Mutex->RefCounted->AtomicCounter" and thus enables all non-x86 POSIX builds.
2008-10-19 11:41:43 +00:00
robocop
66f41f7986
Simplify the #ifdef.
2008-10-16 08:52:16 +00:00
alexpeshkoff
065c4b0430
Disconnect all ports after shutdown of working threads
2008-10-13 16:04:15 +00:00
alexpeshkoff
1483d0e465
Need to keep reference count here too
2008-10-13 12:19:26 +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
ca2519263b
Fixed bug CORE-2108 : "get_free_slot() failed" error
2008-10-04 19:41:18 +00:00
hvlad
857129d3f7
Initialize local variable
2008-10-04 17:46:31 +00:00
hvlad
4180370a7a
Enlarge space reserved for strings in errors returned after attachment failure. It allow to report errors correctly for application which made a lot of simultaneous (failed) connections.
2008-10-04 17:45:58 +00:00
hvlad
c56ebce7bc
Fixed bug CORE-2107 : Failed to establish TCP\IP connection with Windows Classic Server under high load
2008-10-04 17:14:51 +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
asfernandes
e25ab5a1c6
Misc
2008-09-27 02:54:30 +00:00
robocop
b461e728ad
Make inet_aton a function i Windows.
2008-09-24 11:27:37 +00:00
robocop
e1487d3684
inet_aton() does not exist in Windows.
2008-09-24 09:27:11 +00:00
asfernandes
3bf8ec8fb2
Misc
2008-09-24 02:02:38 +00:00
alexpeshkoff
14f21f568e
1. Fixed CORE-2087: server binds to all interfaces in case of error in firebird.conf.
...
2. Fixed CORE-2093: Superserver startup fails on solaris / 64 bit.
3. Improvement CORE-2094: Make it possible to use hostname when specifying interface to listen on in firebird.conf.
Almost impossible to separate: came in one week and required modifications in same part of code.
2008-09-22 14:46:13 +00:00
asfernandes
22c65f0153
Misc
2008-09-10 02:21:13 +00:00
alexpeshkoff
b63b160fdc
make multiclient server shutdown in main thread with normal main port cleanup
2008-09-08 14:06:33 +00:00
alexpeshkoff
eecaa826e3
Cleanup - put two exit handlers with different tasks into separate functions
2008-09-08 13:59:53 +00:00