httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Do <leo...@lucent.com>
Subject Re: [users@httpd] incompleted downloaded file
Date Fri, 20 Sep 2002 14:35:19 GMT


Boyle Owen wrote:

> Something like this came up a while ago in relation to large PDF files. This is the start
of the thread: http://marc.theaimsgroup.com/?l=apache-httpd-users&m=102873192619488&w=2.
>
> There was a discussion about the fact that you do indeed get a 200 response in the header
- so it does really come before the data. i.e. the 200 means "I found the file and you are
authorised to receive it so here it comes..." If it subsequently fails in transit, you don't
get any notification (it's not a handshake).

How do I ensure data is right if I  receive 200 OK code?

thanks

>
>
> >-----Original Message-----
> >From: Leon Do [mailto:leondo@lucent.com]
> >Sent: Donnerstag, 19. September 2002 19:48
> >To: users@httpd.apache.org
> >Subject: [users@httpd] incompleted downloaded file
> >
> >
> >Hello,
> >
> >I am using Java SSL Socket (HttpsURLConnection) to retrieve a
> >large file
> >(1M) on the SSL web server (Apache0.2.39).  If I turn on java SSL
> >debugger then I don't get a complete file (only ~400K) and if
> >I turn off
> >the debugger, then I get the whole file.   In both cases, web server
> >returns status code 200.
> >
> >The socket might timeout but should the server return different status
> >code instead?
> >
> >thanks
> >
> >Leon Do
> >
> >
> >---------------------------------------------------------------------
> >The official User-To-User support forum of the Apache HTTP
> >Server Project.
> >See <URL:http://httpd.apache.org/userslist.html> for more info.
> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

--
Leon Do
Lucent Technologies
eServices Group
200 Lucent Lane
Cary, NC 27511

email: leondo@lucent.com
fax  : (919) 463-4379
ph   :  (919) 463-3149



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message