[sr-dev] crash while parsing uri

Juha Heinanen jh at tutpro.com
Sat Dec 18 10:10:15 CET 2010


Daniel-Constantin Mierla writes:

> I was wondering where you get 503 reply code since I get 500. I do 
> log_extra instead of db_extra, but fetching of the values is the same
> thing.

503 is generated from my script when there is no more gateways
available:

>      while ($true) {
>          if (!next_gw()) {
>             send_reply("503", "Service not available");
>             exit;
>          };
>          t_on_branch("BRANCHES");
>          if (t_relay()) exit;
>      };

-- juha



More information about the sr-dev mailing list