Comment 7 for bug 1278589

Revision history for this message
Vojtech Bocek (vbocek) wrote :

My two cents: I agree that port == 0 might look like "use the default one", so what about using "https_port = -1" instead? It is clearly invalid port number and I don't think it many people would recognize that as "use the default one". This whole thing is in python too, so there shouldn't be any problems with it being signed integer.