On Sep 8, 2013, at 8:33 PM, Scott Harris <[email protected]> wrote:

> Just been doing some tests and finding using this plugin is causing seg 
> faults when the client requests a uri of / or null.  I guess that is why its 
> still experimental.
> 
> I have not done much coding for a while but in health_check_origin after :
> const char* path = TSUrlPathGet(reqp, url_loc, &path_len);
> 
> I added :
> if (!path)
>         goto cleanup;
> 

Can you file a bug on it please?

I'm not sure why this happens yet, but I'll take a look at it tomorrow. I would 
have imagined that path_len would be 0, so it shouldn't try to access the empty 
string.

Cheers,

-- leif


Reply via email to