[gopher] Correct error handling

Damien Carol damien.carol at gmail.com
Fri May 11 13:15:46 UTC 2012


You are probably rigth BUT we have many proxy.

And we can check proxy in the first step.

2012/5/11 Kim Holviala <kim at holviala.com>

> On 11.5.2012 15:48, Damien Carol wrote:
>
>  Yes, your solution is good.
>> Maybe we can check that every server and proxy handle error like this.
>>
>
> Think about what you just said.... and I mean, really, think about it.
>
> Nevergonnahappen.
>
> You cannot change existing clients or servers, ever. Whatever you plan
> *has* to work with existing infrastructure.
>
> This is the best I was able to come up with:
>
> gopher://gophernicus.org/0/**foobar.txt<http://gophernicus.org/0/foobar.txt>
> gopher://gophernicus.org/1/**foobar/ <http://gophernicus.org/1/foobar/>
> gopher://gophernicus.org/h/**foobar.html<http://gophernicus.org/h/foobar.html>
> gopher://gophernicus.org/g/**foobar.gif<http://gophernicus.org/g/foobar.gif>
>
> None of those really exist, of course. Here the server is trying to guess
> what the client wanted and presents the error accordingly. Not foolproof at
> all, but it kinda works.
>
> If anyone of you wants to change the protocol from client side so that
> it's not 100% compatible with existing servers - check out Cameron's
> caps.txt. That's the right way to do it - the client must probe server
> properties first before assuming anything.
>
> And if anyone is thinking about changing the server-side so that it's not
> 100% compatible with existing clients... well... don't. You cannot replace
> *all* existing clients, ever.
>
> Let's take an practical example; Debian. I run several Debian Stable
> servers and they all (of course) have gopher clients. Would I ever install
> your patched (fixed) server or client? No. Never. Not gonna happen, ever. I
> would just "apt-get install" whatever is in the offical stable repos, and
> in Debian's case it might take years before your patches are available. And
> that's coming from someone who actually *likes* gopher.
>
>
>
> - Kim
>
>
> ______________________________**_________________
> Gopher-Project mailing list
> Gopher-Project at lists.alioth.**debian.org<Gopher-Project at lists.alioth.debian.org>
> http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**gopher-project<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project>
>



-- 
Damien CAROL
gopher://dams.zapto.org/1/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/gopher-project/attachments/20120511/626f6bc7/attachment-0001.html>


More information about the Gopher-Project mailing list