Skip to content

Loop redirect  #3

@filhodanuvem

Description

@filhodanuvem

Can we avoid loop redirections ? The rfc 2616 says that the client should worry about it, but i'm worried 😟
e.g:
Supose that our goahead is running in host http://redir/ and we have the rows at redirect table:

hash url
die http://redir/live1
live1 http://redir/live2
live2 http://redir/live3
live3 http://redir/live4
live4 http://redir/live
live http://redir/die

The system would crash if some client send a request to http://redir/live. Our gohead service can't down (process down) never! And if it happens the admin must be notfied at same time. 💣

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions