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

746 Commits

Author SHA1 Message Date
alexpeshkoff
3c35984950 fixed gcc compilation 2008-04-17 16:25:23 +00:00
dimitr
e1d3bbcb61 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 14:22:04 +00:00
dimitr
4a40b788da Correction. 2008-04-17 07:30:10 +00:00
hvlad
b59d7731ec Ensure port can't be deleted ... addition 2008-04-16 14:19:58 +00:00
hvlad
cd4d7ec93d Ensure port can't be deleted by another thread while receiving data (usual socket disconnect event) during disconnect. Just hold one more reference to it. 2008-04-16 12:48:28 +00:00
alexpeshkoff
f4f209cb6f Alan's patch for ARM 2008-04-15 14:14:57 +00:00
robocop
5294fda616 Misc. 2008-04-15 09:31:35 +00:00
asfernandes
79f8d2ceef Misc 2008-04-15 00:57:19 +00:00
alexpeshkoff
b0cc1c0481 Implemented remote cancel operation call. Switched to PROTOCOL_VERSION12. 2008-04-14 09:45:16 +00:00
asfernandes
a9413397a7 Feature CORE-1831 - Creation of GBAK restore switches FIX_FSS_DATA and FIX_FSS_METADATA 2008-04-11 12:57:52 +00:00
dimitr
93ff333155 Restored the prior behavior of the -d switch: thread per port. This makes the debugging easier.
Introduced the new -m switch for the "public" super-classic mode with the thread pooling.
2008-04-10 10:47:11 +00:00
asfernandes
29fbfbb8ff Misc 2008-04-06 14:45:51 +00:00
robocop
1c52bbf025 It seems that finally the interfaces are synchronized.
The compiler produces a lot of errors when linking why.cpp against inter_proto.h (that has the real function signatures) instead of entry.h, but it's the only way to verify that the parameters are coherent.
2008-04-04 13:43:44 +00:00
dimitr
1c343cbadc Server-side fix for CORE-1820. 2008-04-04 09:17:17 +00:00
asfernandes
0adc1aa1f9 Misc 2008-04-04 02:14:17 +00:00
alexpeshkoff
6699ab0e15 Fixed CORE-1807: fbserver assigned to non-canonical port 2008-04-03 15:01:40 +00:00
robocop
b2e8da134f Trying to fix the interface again.
Sorry for going back and forth with constness, but in some cases it was impossible to ensure that input params aren't overwritten, thus I took const away to avoid making promises that can't be met (see the case of fetch that uses a supposedly input-only param to return data). Overwriting memory that was declared const initially is a serious error in C++ with undefined outcome so we better do not lie.
2008-04-03 10:17:24 +00:00
asfernandes
b5f62a63b0 Misc 2008-03-30 20:43:36 +00:00
robocop
09be343d2f Misc. 2008-03-30 11:30:00 +00:00
robocop
27b24cccf3 The boss prefers clean() instead of the sui generis unset(). 2008-03-30 09:49:22 +00:00
robocop
f5c4d1853d Cleanup. 2008-03-30 09:38:24 +00:00
robocop
5b7cb4214b Fixing the damn interface.
Cleanup.
2008-03-30 09:37:57 +00:00
robocop
88349111c8 Probably I could put RFlags with a better name elsewhere for general usage, but for now I'll test the waters with Rsr. 2008-03-30 03:02:12 +00:00
robocop
9030e2a9d5 Misc. 2008-03-28 14:17:21 +00:00
robocop
443feabad9 Since Vlad and Alex did the hard work, I took the comment from Mike (approx 6 years ago) and did the small change function->method. 2008-03-28 13:36:19 +00:00
hvlad
085ba41525 Replace "delete port" by "port->release()" as remote port is RefCounted object now 2008-03-27 11:15:56 +00:00
alexpeshkoff
4e5a83e767 1. Make remote port RefCounted object.
2. Removed deferred cleanup hack.
3. Fixed races when events are delivered - thanks to Vlad.
2008-03-27 10:15:05 +00:00
asfernandes
1e59afbc6e Misc 2008-03-27 02:27:56 +00:00
hvlad
2e7374735e Restore accidentally deleted lines 2008-03-26 14:20:43 +00:00
hvlad
afaa923f13 Use delete[] for arrays. Noted by Claudio. 2008-03-26 08:53:05 +00:00
asfernandes
ab3855585b Misc 2008-03-26 02:37:14 +00:00
hvlad
9318660f3a Finish cleanup in remote started by Alex (remove ALLR etc) 2008-03-25 18:58:31 +00:00
alexpeshkoff
21ca11f328 1. Moved processing of exceptions in guards' dtors to better place.
2. Added class Reference (RefCounted guard) and use it in the tree.
2008-03-25 08:44:11 +00:00
alexpeshkoff
6809f624fc Remote cleanup:
1. Avoid ALLR memory allocation routine (use new / delete).
2. Use common (TypedHandle) class to control consistency of handles.
3. Make ctors and dtors work - in most cases more work is needed to make them meaningful.
2008-03-24 15:28:38 +00:00
asfernandes
18f879a678 Misc 2008-03-23 18:21:49 +00:00
hvlad
5cb43d8f03 Fixed CORE-1763 : The client library does not set options SO_KEEPALIVE, TCP_NODELAY for socket at connection 2008-03-21 15:39:42 +00:00
hvlad
d90529cd7d Link port into parent's list only after it full creation.
Not used currently in XNET\WNET but looks better ;)
2008-03-21 14:52:10 +00:00
alexpeshkoff
2ba77dbed5 Fixed races when using uninitialized object in unhook_disconnected_ports - thanks to Dmitry Kovalenko 2008-03-21 09:12:43 +00:00
asfernandes
3aca6f92b1 Misc 2008-03-21 02:42:24 +00:00
hvlad
262379d8f9 Fix invalid variable for received data size 2008-03-19 18:52:31 +00:00
robocop
82f50ff590 Allocate only the needed buffer. 2008-03-18 12:58:21 +00:00
alexpeshkoff
ed25245303 Applied shutdown changes, discussed in fb-devel a week ago. 2008-03-17 16:49:47 +00:00
alexpeshkoff
3e95789206 Cleanup 2008-03-17 09:08:48 +00:00
skidder
6ef7cd1e30 Allow running engine in superclassic mode on Windows as the service.
This also changes the behavior of -d switch. To run superclassic
engine as application please now invoke fb_inet_server with both -d and -a switches.
2008-03-15 19:12:20 +00:00
asfernandes
262dbadc4f Misc 2008-03-15 17:55:27 +00:00
asfernandes
f4b520c589 Misc 2008-03-15 16:02:10 +00:00
hvlad
5c2300fc65 Fixed few my mistakes noted by Claudio 2008-03-15 13:46:28 +00:00
robocop
b741dd8a0d Simplification. 2008-03-15 10:28:25 +00:00
robocop
d9d95267a7 A bit more readable and more friendly with source code analysis tools (including code completion in editors). 2008-03-15 10:27:49 +00:00
alexpeshkoff
2571b5c1e1 Fixed races in client when working with events 2008-03-14 10:43:36 +00:00