The 80% solution looks good to me, especially given the other
limitations in urllib. Thanks for fixing this.
I took a look at bug 231. I'm not sure I understand this portion of
what you wrote:
The broken pipe occurs because the server sends back the 404 and
closes the connection before the client finishes sending the
data.
Some solutions to this include:
- ignoring it -- possibly okay, but ugly, and more bits flow
across the wire than should;
When you talk about more bits going over the wire, are you referring to
the round-trip of the retry when the first request fails?
-j
On Mon, Nov 19, 2007 at 03:32:41PM -0800, Danek Duvall wrote:
> http://cr.opensolaris.org/~dduvall/pkg-badtransid/
>
> This is a fix for bug 89, where if you pass a bad transaction ID to the
> server, it will emit two backtraces, and the client one. This is a
> complete fix for the server, and an 80% solution for the client. The
> remainder of the client-side solution is pushed off to bug 231, and maybe
> another, as-yet unfiled bug, as we run smack into the limitations of
> Python's HTTP libraries.
>
> Danek
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss