[gopher] Spidering the gopherspace

Bob Cunnings bob.cunnings at gmail.com
Wed Dec 31 07:20:11 UTC 2014


On Tue, Dec 30, 2014 at 2:25 AM, Mateusz Viste <mateusz at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/gopher-project/attachments/20141231/53b05dc8/attachment.html>


More information about the Gopher-Project mailing list