Search:

Type: Posts; User: Voodoo

Search: Search took 0.09 seconds.

  1. Replies
    14
    Views
    3,674

    Re: ChunkedInputStream Error? Help Please

    ...sorry for a =:)
    instead of


    if (xtype == null || xtype.toLowerCase().indexOf("transfer-encoding:") > 0) break;

    it should be


    if (xtype == null ||...
  2. Replies
    14
    Views
    3,674

    Re: ChunkedInputStream Error? Help Please

    Onlyoncehere
    Gosh you've question....
    Your code is incomplete :o this piece here works only with a displayable text content. It runs immediately into troubles if the content is a zipped or chunked...
  3. Replies
    14
    Views
    3,674

    Re: ChunkedInputStream Error? Help Please

    ....sorry I was out for some errands :o
    back to the method Method getChunk(). This method just read the Ascii-hex nnnn...nn in order to determine how big the expected chunk will be. The buf includes...
  4. Replies
    14
    Views
    3,674

    Re: ChunkedInputStream Error? Help Please

    onlyoncehere
    For the sake of the community I explain the ChunkedInputStream codes here.
    * ChunkedInputStream is an extend of the InputStream so that it inherits every NO-overwritten methods (e.g....
  5. Replies
    14
    Views
    3,674

    Re: ChunkedInputStream Error? Help Please

    It fits because huge data (independent on YouTube) are usually sent in chunks (groups of data) so that a browser can cache them and avoids to hog the traffic. If you want to avoid this problem you...
  6. Replies
    14
    Views
    3,674

    Re: ChunkedInputStream Error? Help Please

    The message
    "java.io.IOException: Premature EOF
    at sun.net.www.http.ChunkedInputStream.readAheadBlocking(Unknown Source)
    ...."
    is thrown if the input stream is NOT a real...
Results 1 to 6 of 6