/[storm]/storm/org/nongnu/storm/http/server/HTTPConnection.java
ViewVC logotype

Diff of /storm/org/nongnu/storm/http/server/HTTPConnection.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Sat Apr 19 12:20:29 2003 UTC revision 1.2 by benja, Mon Apr 21 21:07:41 2003 UTC
# Line 253  public class HTTPConnection { Line 253  public class HTTPConnection {
253                          try {                          try {
254                              iter(this);                              iter(this);
255                          } catch (IOException _) {                          } catch (IOException _) {
256                              _.printStackTrace();                              // doesn't seem to be a big problem--
257                                // don't print stack trace if dbg is off,
258                                // in order not to frighten users XXX
259                                if(dbg) _.printStackTrace();
260    
261                              // IOExceptions often occur when the pipe                              // IOExceptions often occur when the pipe
262                              // is somehow broken or closed-- if it's                              // is somehow broken or closed-- if it's
# Line 349  public class HTTPConnection { Line 352  public class HTTPConnection {
352                      + "</h1> - " + reason + "\n");                      + "</h1> - " + reason + "\n");
353              res.close();              res.close();
354          } catch (IOException e) {          } catch (IOException e) {
355              e.printStackTrace();              // XXX not only when dbg is on?
356                if(dbg) e.printStackTrace();
357          }          }
358      }      }
359    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26