Welcome! Log In Create A New Profile

Advanced

Re: NJS Questions and/or Bugs

Lance Dockins
August 11, 2021 11:02PM
Unfortunately, we can’t really use standard packages.  We need extra modules.  I’m recompiling and enabling debug now.  The modules we’re using aren’t anything super abnormal and we might replace one of them with NJS at some point..  All I know for sure is that this seems to work just fine with OpenResty’s LuaJIT integration/module.  So it’s something that is different between NJS and that.

Hopefully the debug will turn something up.


--
Lance Dockins

On Aug 11, 2021, 9:57 PM -0500, Sergey A. Osokin <osa@freebsd.org.ru>, wrote:
> On Wed, Aug 11, 2021 at 09:48:48PM -0500, Lance Dockins wrote:
> > I’ll try recompiling nginx with that to see if that changes anything.
>
> I'd recommend to use official packages for Linux from the following URL,
> http://nginx.org/en/linux_packages.html
>
> > In fact, even your code is returning nothing.
>
> That's definitely something wrong on your side. Please simplify the
> nginx configuration, remove all unnecessary directives.
>
> ...
>
> > When I submit a POST with vars, I still get an empty object in the response.
>
> A couple of suggestions:
>
> - Have you enabled debugging log? If so, could you share nginx-error.log.
> - How did you test the code? Here's my shell script:
>
> #!/bin/sh
>
> curl -v --data-binary @test.bin http://127.0.0.1:8080/test?foo=bar\&baz=1
>
> #EOF
>
> Please report when all suggested points are done, thanks.
>
> --
> Sergey
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NJS Questions and/or Bugs

Lance Dockins August 11, 2021 08:44PM

Re: NJS Questions and/or Bugs

Sergey A. Osokin August 11, 2021 09:52PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 10:06PM

Re: NJS Questions and/or Bugs

Sergey A. Osokin August 11, 2021 10:22PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 10:32PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 10:40PM

Re: NJS Questions and/or Bugs

Sergey A. Osokin August 11, 2021 10:44PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 10:50PM

Re: NJS Questions and/or Bugs

Sergey A. Osokin August 11, 2021 10:58PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 11:02PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 11:46PM

Re: NJS Questions and/or Bugs

Lance Dockins August 11, 2021 11:52PM

Re: NJS Questions and/or Bugs

Sergey A. Osokin August 11, 2021 10:42PM

Re: NJS Questions and/or Bugs

Dmitry Volyntsev August 12, 2021 02:16AM

Re: NJS Questions and/or Bugs

Lance Dockins August 12, 2021 08:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready