0x02 - Gopher Blog Engine Part. 2

In this episode, we learn what a gopher directory is and we use them to generate our phlog index.

=> Download episode’s torrent <=

If you have no idea how to download a torrent, just check transmission.

If you live in a dystopian world and cannot use BitTorrent, you can check out this episode on youtube.


The directory entry type is actually not necessarily an integer. This will probably bite back in the next episode!

Have you been triggered when I used “head” on the SendResponse list without checking its size? I would have! Head is a partial function, it could throw a runtime exception. Together with the fact we do not catch those exceptions, see the last episode, a client could easily crash our server with a carefully crafted request ;)