home *** CD-ROM | disk | FTP | other *** search
/ IBM Presents OS/2 Software Hits 1995 / OS-2_SW_HITS_2ND_EDITION_1995.ISO / i17 / tliws2.exe / TLIWS2.TXT
Text File  |  1994-12-06  |  7KB  |  209 lines

  1.  
  2.               NOVELL TECHNICAL INFORMATION DOCUMENT
  3.  
  4. TITLE:              Updated Client TLI Files
  5. DOCUMENT ID:        TID021941
  6. DOCUMENT REVISION:  A
  7. DATE:               06DEC94
  8. ALERT STATUS:       Yellow
  9. INFORMATION TYPE:   Symptom Solution
  10. README FOR:         TLIWS2.EXE
  11.  
  12. NOVELL PRODUCT and VERSION:
  13. NetWare 3.11
  14. NetWare 3.12
  15. NetWare 4.0
  16. NetWare 4.01
  17. NetWare 4.02
  18.  
  19. ABSTRACT:
  20.  
  21. TLIWS2.EXE contains TLI 4.x files and fixes.  These fixes where provided to
  22. solve some obscure problems found after the major release cycle but still
  23. deemed important to provide to anyone experiencing problems.  All these fixes
  24. were found in the OS/2 implementation.  New DOS and Windows code is provided
  25. because many of the tli functions have common code between these versions.
  26.  
  27. -----------------------------------------------------------------
  28. DISCLAIMER
  29. THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL.  NOVELL
  30. MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION.  HOWEVER, THE
  31. INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY.  NOVELL
  32. MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
  33. -----------------------------------------------------------------
  34.  
  35. SYMPTOM
  36.  
  37. After a connection to an old SPX client, aplication was unable to send data. 
  38. This occured if the application did a t_listen of a file descriptor bound with
  39. qlen of 1 and then did a taccept on a different descriptor.  This was a timing
  40. issue that could only happen with a multithreaded OS/2 application.
  41.  
  42. SOLUTION
  43.  
  44. The socket did not have any listening buffers posted besides the 1 posted to
  45. get the connection.  T_accept now checks the type of connection and handles it
  46. correctly, posting more listen buffers if necessary.
  47.  
  48.  
  49. SYMPTOM
  50.  
  51. A multithreaded OS2 application was using a common IPX socket for both new
  52. SPXII connections and old SPX connections.  The t_accept routine did not
  53. switch the options pointer to the new fd correctly.  When both an SPX and
  54. SPXII connections were processing at the same time, the SPXII connection would
  55. be looking at the SPX endpoint options and asuming size negotiate was turned
  56. off just before sending the Session setup packet, causeing both endpoints to
  57. hang.
  58.  
  59. SOLUTION
  60.  
  61. The correct option pointer is setup for each endpoint earlier in the
  62. connection process, eliminating the conflict.
  63.  
  64.  
  65. SYMPTOM
  66.  
  67. In OS2, if an exception handler is executed during a blocking t_listen, the
  68. blocking semaphore call used could fail  causing a premature return from
  69. t_listen and making it look like a connection was received when indeed an
  70. exception (abort) handler had executed.
  71.  
  72. SOLUTION
  73.  
  74. The failure of a semaphore wait is now accounted for by aborting the tlisten
  75. and returning to the user. This was the only acceptable solution to processing
  76. of an aborted system call.  A similar fix was previously put in t_rcv.
  77.  
  78.  
  79. Self-Extracting File Name:  TLIWS2.EXE     Revision:  A
  80.  
  81. Files Included     Size     Date      Time
  82.  
  83. \
  84.   TLIWS2.TXT         (This File)
  85. \DOS\
  86.       POLL.H       2323   10-13-92    5:27p
  87.     TIUSER.H      11638   01-20-94   10:37a
  88.   TISPXIPX.H       6292   12-16-92    9:35a
  89. \DOS\MSC\
  90.     CTLI.LIB      95869   11-22-94    3:44p
  91.     LTLI.LIB      97405   11-22-94    3:29p
  92.     MTLI.LIB      82045   11-22-94    3:39p
  93.     STLI.LIB      80509   11-22-94    3:34p
  94. \DOS\TCC\
  95.     CTLI.LIB      96965   11-22-94    3:54p
  96.     LTLI.LIB      98501   11-22-94    3:46p
  97.     MTLI.LIB      85189   11-22-94    3:52p
  98.     STLI.LIB      83653   11-22-94    3:49p
  99. \OS2\
  100.       POLL.H       2323   10-13-92    5:27p
  101.      TLI.DLL      20929   11-23-94    8:10a
  102.      TLI.LIB       4833   11-23-94    8:10a
  103.     TIUSER.H      11638   01-20-94   10:37a
  104.   TISPXIPX.H       6292   12-16-92    9:35a
  105.  TLI_SPX.DLL      55263   11-23-94    8:17a
  106.  TLI_TCP.DLL      10833   08-30-94   12:03p
  107. \WIN\
  108.  TLI_SPX.DLL      52597   11-22-94    3:16p
  109.  TLI_WIN.DLL      15713   11-22-94    2:59p
  110.  TLI_WIN.LIB       4839   11-22-94    2:59p
  111.  
  112.  
  113. Installation Instructions:
  114.  
  115. 1. Make a backup copy of your existing TLI files.
  116.  
  117. 2. Copy the updated TLI files to your workstation's DOS/WIN/OS2 H and DLL
  118. directories.
  119.  
  120.  
  121. History:
  122.  
  123. TLIWS1.EXE
  124.  
  125. SYMPTOM
  126.  
  127. In OS/2, the user would see a bogus T_DISCONNECT on t_look; and when the user
  128. would t_rcvdis, the system would GP fault.
  129.  
  130. CAUSE
  131.  
  132. An endpoint that did a t_snddis did a t_close before the disconnect ack came
  133. in.
  134.  
  135. The disconnect ack processing freed the session table associated with the old
  136. connection; when the t_close closed the endpoint, the ack did not come in and
  137. the session table was never freed.  The watchdogging routing assumed the
  138. session was active and tried to send bogus watchdogs.
  139.  
  140. SOLUTION
  141.  
  142. The watchdogging routine was cleaned to free orphaned session tables.
  143.  
  144. SYMPTOM
  145.  
  146. Users reported multiple Trap d problems.
  147.  
  148. SOLUTION
  149.  
  150. In this patch, Multiple NULL pointer checks were included when referencing the
  151. queue posted in the session table entries.  These changes were made to enhance
  152. the error handling code.
  153.  
  154. SYMPTOM
  155.  
  156. Watchdog was possibly causing a Trap.
  157.  
  158. SOLUTION
  159.  
  160. This patch adds a call to cancel the watchdog if it was scheduled. This was
  161. possibly causing a Trap later in the code.  It was possible that if a SPX
  162. session was destroyed, the Event might still trigger and access freed memory,
  163. causing a Trap D in OS/2.
  164.  
  165. SYMPTOM
  166.  
  167. The driver truncates or returns a receive error.
  168.  
  169. SOLUTION
  170.  
  171. The patch allocates listening buffers to be driver size instead of 576 bytes. 
  172. This should only have an effect if the listening Event Control Block (ECB)
  173. receives a stray data or size negotiate packet while listening.  This fix will
  174. keep the driver from truncating or giving a receive error.
  175.  
  176. SYMPTOM
  177.  
  178. Previously, if an OLD SPX connection had been an established endpoint, then
  179. the spxIIOptionNegotiat flag was set to SPX_OPTION_NEGOTIAT_ON.  When a SPXII
  180. machine then tried to connect, it expected size negotiation to occur; however,
  181. this flag was never being reset, which caused the endpoint to hang.
  182.  
  183. SOLUTION
  184.  
  185. The patch changes the connect handler() check to see if the remote partner
  186. wants the size negotiation on.
  187.  
  188. SOLUTION
  189.  
  190. Update your current TLI files with the updated 4.x TLI files contained in this
  191. file.
  192.  
  193.  
  194. Installation Instructions:
  195.  
  196. 1. Make a backup copy of your existing TLI files.
  197.  
  198. 2. Copy the updated TLI files to your workstation's DOS/WIN/OS2 H and DLL
  199. directories.
  200.  
  201.  
  202. -----------------------------------------------------------------
  203. Any trademarks referenced in this document are the property of their
  204. respective owners.  Consult your product manuals for complete trademark
  205. information.
  206. -----------------------------------------------------------------
  207.  
  208.  
  209.