Matt Kull posted to the forum:
The first time I create and send a request, the request is sent fine.
The user is then redirected to the google checkout process. All is
well.
If the user hits the back button, our View Cart page is reloaded. All
is well.
If the user then clicks on the Google Checkout button on that page
again, a new CheckoutShoppingCartRequest is created and sent. As soon
as it is sent an IOException is thrown, "The underlying connection was
closed: A connection that was expected to be kept alive was closed by
the server."
Interestingly, if I catch the IOException and try to resend the request
in the catch block, the request is able to be sent fine.
Alternatively, if I try to send a request two times in a row, both
requests are sent fine.
The CheckoutShoppingCartRequest does not have an open or close method,
so I assume that should be handled within? Should I be disposing of my
request object somehow?
Original issue reported on code.google.com by moman...@google.com on 28 Oct 2006 at 12:24
Original issue reported on code.google.com by
moman...@google.com
on 28 Oct 2006 at 12:24