[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [gopher] Spidering the gopherspace





On Tue, Dec 30, 2014 at 2:25 AM, Mateusz Viste <mateusz@viste.fr> wrote:
Hi Bob,

Thanks for the feedback!

Actually, it's not as simple as that - I do request the full selectors all right (eg. /gopher), but I send an \n terminator instead of \r\n. This I will fix asap.

Your server, on the other hand, seems to fail quite ungracefully on such condition, apparently trying to trim something that isn't there (hence ending up one letter short).


Ok, thanks for the report. You are right, my server didn't handle non-compliant request lines correctly, so I've fixed that.

In the spirit of RFC 1958, I'll be tolerant and you can be strict:

3.9 Be strict when sending and tolerant when receiving.
   Implementations must follow specifications precisely when sending to
   the network, and tolerate faulty input from the network. When in
   doubt, discard faulty input silently, without returning an error
   message unless this is required by the specification.


Bob 
gopher://whitemesa.net
_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project

Reply to: