http://cr.opensolaris.org/~dduvall/pkg-timeout/
This is a *very* simplistic addition to allow pkg(1) to timeout network operations. There's no way to set the timeout, and the only codepaths that check for the timeout exception are the two that already did some checking for downloaded data (search and catalog refresh), so anywhere else it's hit, you'll get a big fat traceback. I suppose that could be better than hanging. At some point in the near future, I'll clean up the exception paths, add retry, add partial download, etc. Thanks, Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
