James Hurst

Results 59 comments of James Hurst

Unfortunately this feature is still not available in an OpenResty release. You will need to use `OpenResty 1.21.4.2 RC1` to try it out. `lua-resty-http` simply provides an option to supply...

What makes you think this has anything to do with `lua-resty-http`? The error appears to be related to your installation / platform - you will get the same error calling...

Perhaps something is happening in your `newConnect` function here? To be clear, when using `request_uri` you do not need to call `connect`. `request_uri` will open and close the connection for...

> I can see ledge triggering a background refresh, but when it tries to fetch the new content, it returns the stale content again (no matter how long I wait)....

I see. You shouldn't need to be doing this with custom headers of course. The semantics are there already; the background request should include `max-stale=0` in its request headers, and...

What does "doesn't work" mean? I haven't got time to analyse wireshark output for you, if you need help then please provide more detail.

Before any request is made, a connection must be established. This error is telling you that, for some reason, your Nginx server cannot open a connection to the URI. You'll...

I can't say why you're having problems sending a largish body directly - there are no hardcoded limitations (other that nginx worker memory). If you really want to allocate 11MB...

This is not an error, just a warning to indicate that mTLS features will not work. You can adjust your Nginx log level to turn off warnings if you wish.