2008/6/26 Tom Mueller (pkg-discuss) <[EMAIL PROTECTED]>:
> Lubos Kosco wrote:
>>
>> Btw. guys ... pkgsend(1)  is using port 10000 by default ... why does
>> this sample use 9999 ???
>> If we plan(do we?) that pkgsend will just work(tm) ater you start your
>> depo according to the man example, I think we should have consistent
>> port with what is pkgsends default, hmm?
>>
>>
> Before the CherryPy changes, the server would try 80 first and then
> 10000 if it couldn't bind to 80.  I thought that 9999 was used in the
> example to show how to change to something different than 10000.
>
> Now that depot.py never tries 10000 on its own, it would seem to make
> sense to change the example to 10000 as you suggest.

I would agree.

We could add back the port 10000 default, but the current behaviour
feels better since if the user picks a port that isn't available or is
already in use, it can let them know.

Automatically falling back to a hard-coded port was always a little "iffy".

-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to