You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2006/02/07 22:52:56 UTC

DO NOT REPLY [Bug 38561] New: - Connection gets closed on GET operation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38561

           Summary: Connection gets closed on GET operation
           Product: HttpClient
           Version: 3.1.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HttpClient
        AssignedTo: httpclient-dev@jakarta.apache.org
        ReportedBy: khankin@amazon.com


I'm doing a very simple GET operation using regular (non-SSL) http access. I
call the Method.getResponseBodyAsStream() method and do a couple of reads. My
second read fails with exception "java.io.IOException: Attempted read on closed
stream", yet I have not closed the stream. I'm noting that the connection is of
class org.apache.commons.httpclient.AutoCloseInputStream, so maybe it's self
closing? Why would it do this?

I realize this might not be a bug, but I don't know what forum to get my problem
resolved, as the link to subscribe to the newsgroup about httpclient
(http://jakarta.apache.org/commons/httpclient/mail-lists.html) is broken. Could
you please redirect me to the proper link to subscribe? Thanks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 38561] New: - Connection gets closed on GET operation

Posted by Ortwin Glück <od...@odi.ch>.

sebb wrote:
> Ideally the links ought to be fixed by changing whatever Maven uses to
> generate the site, but I don't know where that is.

That used to be a bug in a plugin:

http://jira.codehaus.org/browse/MPXDOC-186

Upgrade xdoc plugin to Version 1.10

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 38561] New: - Connection gets closed on GET operation

Posted by Roland Weber <RO...@de.ibm.com>.
Hi all,

> > .... the link to subscribe to the newsgroup about httpclient
> > (http://jakarta.apache.org/commons/httpclient/mail-lists.html) is 
broken.
> 
> Ideally the links ought to be fixed by changing whatever Maven uses to
> generate the site, but I don't know where that is.

while we're at it, the links to the mailing list archives are broken too.
They read like 
http://mail-archives.apache.org/eyebrowse/SummarizeList?listId=281
but the correct links would include the list name instead of an ID:
http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-dev/

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 38561] New: - Connection gets closed on GET operation

Posted by sebb <se...@gmail.com>.
On 07/02/06, bugzilla@apache.org <bu...@apache.org> wrote:
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=38561>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
> INSERTED IN THE BUG DATABASE.

[...]

> .... the link to subscribe to the newsgroup about httpclient
> (http://jakarta.apache.org/commons/httpclient/mail-lists.html) is broken.

I noticed this before and it bugged me too, so I've fixed the links
temporarily by adding the mailto: prefix to the html page - hope
no-one minds.

Ideally the links ought to be fixed by changing whatever Maven uses to
generate the site, but I don't know where that is.

It will take a few hours before the update appears on the public web-site.

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 38561] - Connection gets closed on GET operation

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38561


olegk@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From olegk@apache.org  2006-02-07 23:06 -------
Keith,

Bugzilla is certainly a wrong venue to ask questions. In your particular case I
suspect there is a problem with the way you use HttpClient API rather than a bug
in HttpClient code. 

Please subscribe to the httpclient-user@jakarta.apache.org list by sending an
empty message to httpclient-user-subscribe@jakarta.apache.org. Once subscribed
please post relevant code snippets from your application to the list

Oleg

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org