History log of /unit/src/nxt_sockaddr.c (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2141:c820888cd98c 16-Jun-2022 Andrew Clayton

Socket: removed useless port < 1 check.

In src/nxt_sockaddr.c::nxt_job_sockaddr_inet_parse() there is a check
that port > 0 then there is a check that port < 1 || port > 65535, well
we _know_ it can

Socket: removed useless port < 1 check.

In src/nxt_sockaddr.c::nxt_job_sockaddr_inet_parse() there is a check
that port > 0 then there is a check that port < 1 || port > 65535, well
we _know_ it can't be less than 1.

show more ...


Revision tags: 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0
# 1935:ba08638c3259 12-Aug-2021 Oisin Canty

Introduced nxt_sockaddr_parse_optport() for addresses w/o ports.


# 1909:d6a5090da2ea 02-Jul-2021 Oisin Canty

Fixing crash during IPv6 text address generation.

When the textual representation of an IPv6 nxt_sockaddr_t was being
generated, a crash would occur if the address had a full IPv6 form:

f607:7403:1

Fixing crash during IPv6 text address generation.

When the textual representation of an IPv6 nxt_sockaddr_t was being
generated, a crash would occur if the address had a full IPv6 form:

f607:7403:1e4b:6c66:33b2:843f:2517:da27

This was caused by a variable that tracks the location of a
collapsed group ("::") that was not set to a sane default. When
the address was generated, a group would be inserted when
it was not necessary, thus causing an overflow.

This closes #481 issue on GitHub.

show more ...


Revision tags: 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
# 1324:73562b05bf48 24-Dec-2019 Axel Duch

Router: introducing routing on client address.


Revision tags: 1.13.0-1, 1.13.0
# 1266:22a29a8b15e2 14-Nov-2019 Igor Sysoev

Event engine memory cache refactored.


Revision tags: 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0
# 1008:84f2370bd642 11-Mar-2019 Andrey Zelenkov

Style.


Revision tags: 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7, 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4
# 763:da7ddf9e1104 17-Sep-2018 Igor Sysoev

Fixed typo.

This closes #165 issue on GitHub.
Thanks to 洪志道 (Hong Zhi Dao).


Revision tags: 1.3
# 703:2d536dde84d2 25-Jun-2018 Valentin Bartenev

Introduced nxt_length() macro.


Revision tags: 1.2, 1.1, 1.0
# 611:323e11065f83 04-Apr-2018 Valentin Bartenev

Style: capitalized letters in hexadecimal literals.


Revision tags: 0.7, 0.6, 0.5
# 493:745222d540a2 24-Jan-2018 Sergey Kandaurov

Using size_t for the field width type of the "%*s" specifier.


Revision tags: 0.4, 0.3, 0.2
# 358:40bbd4c2349d 17-Oct-2017 Igor Sysoev

Storing memory cache slot hint inside nxt_sockaddr_t.


# 337:854a1a440616 27-Sep-2017 Igor Sysoev

Event engine memory cache for nxt_sockaddr_t.

Introducing event engine memory cache and using the cache for
nxt_sockaddr_t structures.


Revision tags: 0.1
# 211:6738bb76ae0a 16-Aug-2017 Ruslan Ermilov

Corrected path to nxt_socket.h in comments.


# 110:b367ad00650d 29-Jun-2017 Igor Sysoev

Fixed port processing in nxt_sockaddr_text().


# 102:8dc96d9dcff7 28-Jun-2017 Igor Sysoev

Small optimization in nxt_sockaddr_text().


# 101:54f45ac7c564 27-Jun-2017 Igor Sysoev

Fixed INET6 sockaddr processing in nxt_sockaddr_text().


# 100:07429a5af734 27-Jun-2017 Igor Sysoev

Fixed Unix sockaddr processing in nxt_sockaddr_text().


# 99:f7ff1263f690 27-Jun-2017 Igor Sysoev

nxt_sockaddr_parse() introducted.


# 98:4077decf847b 27-Jun-2017 Valentin Bartenev

Applied nxt_pointer_to() and nxt_value_at() where possible.


# 71:26f40ec12921 21-Jun-2017 Valentin Bartenev

Removed surplus type casting from nxt_memcmp() calls.


# 65:10688b89aa16 20-Jun-2017 Igor Sysoev

Using new memory pool implementation.


# 20:4dc92b438f58 09-Mar-2017 Igor Sysoev

Processes refactoring.
The cycle has been renamed to the runtime.


# 13:3a52b2c3d3f1 22-Feb-2017 Igor Sysoev

I/O operations refactoring.


# 10:a8e68ed06863 01-Feb-2017 Igor Sysoev

nxt_str_t changes.


# 4:76c63e9b6322 27-Jan-2017 Igor Sysoev

Work queues refactoring.


12