[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib WebdavClient.java
From:       remm () locus ! apache ! org
Date:       2000-11-30 19:48:05
[Download RAW message or body]

remm        00/11/30 11:48:04

  Modified:    src/webdav/client/src/org/apache/webdav/lib
                        WebdavClient.java
  Log:
  - Fix a NPE if session was closed if the connection was already closed.
    Thanks to Microsoft and their fake HTTP/1.1 support for helping me find
    that bug.
  
  Revision  Changes    Path
  1.10      +5 -4      \
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavClient.java  
  Index: WebdavClient.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavClient.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- WebdavClient.java	2000/11/30 18:55:11	1.9
  +++ WebdavClient.java	2000/11/30 19:48:03	1.10
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavClient.java,v \
                1.9 2000/11/30 18:55:11 remm Exp $
  - * $Revision: 1.9 $
  - * $Date: 2000/11/30 18:55:11 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavClient.java,v \
1.10 2000/11/30 19:48:03 remm Exp $  + * $Revision: 1.10 $
  + * $Date: 2000/11/30 19:48:03 $
    *
    * ====================================================================
    *
  @@ -412,7 +412,8 @@
           // Close socket
           input.close();
           output.close();
  -        socket.close();
  +        if (socket != null)
  +            socket.close();
           socket = null;
           try {
               Thread.sleep(1);
  
  
  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic