SimpleHTTPServer: connection reset by peer

Discussion in 'Python' started by Thomas Guettler, Oct 5, 2004.

  1. Hi,

    I try to server a debian DVD via SimpleHTTPServer.
    There is only one client which connects to the
    server.

    I started it like this:
    cd /media/dvd
    /usr/lib/python2.3/SimpleHTTPServer

    There are no errors in the output of the server,
    but the clients gets often:
    104 Connection reset by peer.

    It only happens about every fifth pakage.
    After running the "apt-get install" for several
    time all pakages get installed.

    The output of the server seems OK:

    172.17.6.60 - - [05/Oct/2004 12:50:28] "GET
    /dvd/debian/pool/main/m/meta-kde/kde-core_3.1.2_all.deb HTTP/1.1" 200 -
    172.17.6.60 - - [05/Oct/2004 12:50:29] "GET
    /dvd/debian/pool/main/k/kdeedu/keduca_3.1.5-2_i386.deb HTTP/1.1" 200 -

    Any hints?

    Python 2.3.3 on Suse-Linux

    Regards,
    Thomas
     
    Thomas Guettler, Oct 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John O'Conner
    Replies:
    1
    Views:
    495
    totojepast
    Jan 30, 2004
  2. Sudheer
    Replies:
    2
    Views:
    1,351
    Roedy Green
    Apr 1, 2004
  3. Guy Noir

    Re: peer to peer messaging

    Guy Noir, May 26, 2005, in forum: Java
    Replies:
    7
    Views:
    703
    Owen Jacobson
    May 31, 2005
  4. Matt Gessner
    Replies:
    1
    Views:
    1,420
  5. Replies:
    0
    Views:
    385
Loading...

Share This Page