Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

sendfile error :: error no. 32 [Broken pipe]

Help
2011-07-24
2013-05-29
  • Andrew Peng
    Andrew Peng
    2011-07-24

    Streaming to a PS3 client from the latest stable build 1.0.21 compiled on an AMD Athlon MP SMP system on Debian 6.0 32-bit displays the follow debug output. Streaming works fine on the PS3 end.

    upnphttp.c:1780: info: Serving DetailID: 10419
    upnphttp.c:1179: debug: sendfile error :: error no. 32
    minidlna.c:1195: debug: HTTP connection from 192.168.1.12:63660
    upnphttp.c:261: debug: Range Start-End: 270794752 - 576940569
    upnphttp.c:153: debug: Client found in cache.
    upnphttp.c:805: debug: HTTP REQUEST: GET /MediaItems/10419.avi HTTP/1.1
    Host: 192.168.1.1:8200
    User-Agent: PLAYSTATION 3
    Connection: Keep-Alive
    Accept-Encoding: identity
    transferMode.dlna.org: Streaming
    Range: bytes=270794752-576940569

    This was tested with multiple formats of videos and all show this debug outout of "sendfile" error. This didn't happen with a previous version I used a few years ago compiled on a PowerPC Mac G3 running Debian 5. I don't remember which version it was, it was more than a few years ago on a server I don't have access to anymore.

    Research on the internet shows this link, but no resolution was found:
    https://sourceforge.net/projects/minidlna/forums/forum/879957/topic/4372980

     
  • Justin Maggard
    Justin Maggard
    2011-07-26

    Yes, that appears to be how the PS3 does things.  It requests large amounts of data, and then just abruptly breaks the connection before the transfer is finished.  It might help if we supported keep-alive, but I'm not sure, and I don't have spare cycles to implement keep-alive right now.  But at least it doesn't seem to affect streaming functionality.

     
  • Andrew Peng
    Andrew Peng
    2011-07-26

    Yeah it doesn't seem to affect the streaming experience at all so I'm not too worried about it. Appreciate the reply though.