Welcome! Log In Create A New Profile

Advanced

Re: [core] the sa_family of accept socket is equal 0

Maxim Dounin
January 25, 2016 10:46AM
Hello!

On Mon, Jan 25, 2016 at 01:52:54AM -0500, guitao_w wrote:

> nginx version: 1.63
> OS version: hp-ux B.11.23
>
> Client connect server with telnet, by GDB, I find:
>
> ngx_event_accept.c, function ngx_event_accept, line 279, the value of
> 'c->addr_text.len' is zero,
> but the server socket's value is ok
>
> who can get this problem?

Unfortunately, HP-UX B.11.23 isn't something easy to find for
testing. So I wouldn't expect this can be debugged by anyone
except you.

My best guess is that the problem is caused by multiple versions
of socket functions on HP-UX, see this commit for some details (it
was done after some basic testing on HP-UX B.11.31):

http://hg.nginx.org/nginx/rev/489839d07b38

Though given that 11.23 is quite old it is possible that the
situation is different there.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[core] the sa_family of accept socket is equal 0

guitao_w January 24, 2016 11:02PM

Re: [core] the sa_family of accept socket is equal 0

Maxim Dounin January 25, 2016 10:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 231
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