You are not logged in.
Pages: 1
mORMot2, Unit mormot.net.sock
In the source code there are places where the port value is passed as string and in other places as integer. Wouldn't it be better to change the DEFAULT_PORT definition as follows?
const
DEFAULT_PORT_STR: array[Boolean] of RawUtf8 = ('80', '443');
DEFAULT_PORT_INT: array[Boolean] of Integer = (80, 443);
With best regards
Thomas
Offline
Pages: 1