freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: ark AT eltex.ru
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: OOB data
- Date: Fri, 23 Apr 1999 14:14:51 +0400
-----BEGIN PGP SIGNED MESSAGE-----
nuqneH,
Played more with damned thing.. Could not find any way to handle OOB
properly (never programmed OOB before,so i can't figure out why sending
an OOB ny my proxy causes TIS plug-gw to close connection though it works
ok if it receives what expected to be the same data directly from SQL
client). Strange things happen there, so question is: is there a
way in TDS 4 to do the same thing without OOB? So if i receive OOB
crap can my proxy send some regular packet instead?
"Scott C. Gray" <gray AT voicenet.com> said :
[dd]
> In TDS 4.6, a cancel--or attention--request (usually made via a
> call to dbcancel() in db-library) generated an OOB packet which
> caused a SIGURG signal to be raised in the server on the other
> end of the pipe. Upon sending the OOB packet, the client library
> would then read and discard packets from the network until it
> received an acknowledgement of the packet from the server. Once
> it receivees this acknolwedgement it knows that the communications
> state of the network has been reset, packets are no longer waiting
> and it may now issue new queries.
[dd]
> To address this (and to provide a more portable mechanism--not
> all network stacks support OOB's), TDS 5.0 moved to in-band
> cancelations. Under this mechanism, attentions are sent
> using a regular old packet (of type TDS_ATTENTION) down the
> network just like any other packet.
_ _ _ _ _ _ _
{::} {::} {::} CU in Hell _| o |_ | | _|| | / _||_| |_ |_ |_
(##) (##) (##) /Arkan#iD |_ o _||_| _||_| / _| | o |_||_||_|
[||] [||] [||] Do i believe in Bible? Hell,man,i've seen one!
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBNyBIGqH/mIJW9LeBAQEdsQP+JSQR2A4vC1Nm0/jqWlEKlk8kM8nBoI+T
FnH6MMSh78Z7fHsF6hHrr5LvQTtVnBby6iGU+x7BZ3wenkUObrbII0lOHzzue0mj
xTtOFcBMxHVk737xB9LoJXnHRFn45fehM6pX5DkPCzuuMtiGy1ba6ASgS/gWFgnC
QYsOYqlGXys=
=sg1Z
-----END PGP SIGNATURE-----
-
OOB data,
ark, 04/22/1999
- <Possible follow-up(s)>
- Re: OOB data, Scott C. Gray, 04/22/1999
- Re: OOB data, Joe Shevland, 04/22/1999
- Re: OOB data, ark, 04/23/1999
- Re: OOB data, ark, 04/23/1999
Archive powered by MHonArc 2.6.24.