snimmagadda / pop3d

POP3 Daemon with POP3S, STARTTLS extensions.
6 stars 4 forks source link

Why ARGLEN is so small? #7

Closed lukateras closed 9 years ago

lukateras commented 9 years ago

I've just tried using using pop3d with 50 character password, and apparently it failed:

PASS  (*** 50 bytes hidden ***)
-ERR args required or too long

Why ARGLEN is just 40 bytes at pop3d.h#L25?

snimmagadda commented 9 years ago

Since RFC 1939 specifies "Each argument may be up to 40 characters long". I think it can be bumped up.

lukateras commented 9 years ago

I've missed that while reading the spec. On second thought, 40 bytes should be enough. Sorry for bothering you!