History log of /unit/src/nxt_port_rpc.c (Results 1 – 17 of 17)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2126:8542c8141a13 07-Jun-2022 Max Romanov

Removing unused tracking fields and functions.

The message tracking is unused since 1d84b9e4b459 commit.

This fixes the issue found by Coverity (CID 376263).


Revision tags: 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0
# 1996:35873fa78fed 09-Nov-2021 Tiago Natel de Moura

Introduced SCM_CREDENTIALS / SCM_CREDS in the socket control msgs.


Revision tags: 1.25.0-1, 1.25.0, 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
# 1558:026e4b909b61 11-Aug-2020 Max Romanov

Style fixes for 2 file descriptors transfer over port.

Two consecutive fd and fd2 fields replaced with array.


Revision tags: 1.18.0-1, 1.18.0
# 1487:6238e2224c43 27-May-2020 Max Romanov

Moving nxt_stream_ident to shared memory.

This aims to avoid stream id clashes after router restart.


Revision tags: 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, 1.13.0-1, 1.13.0, 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, 1.8.0-1, 1.8.0
# 956:5246780119e8 25-Feb-2019 Max Romanov

RPC error message size fixed.

In case of RPC error, special error message passed to handler.
Field 'size' expected to be 0 in this case because in contains fake
empty buffer.


Revision tags: 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, 1.3, 1.2, 1.1, 1.0
# 613:e5dd7bc63d59 05-Apr-2018 Valentin Bartenev

Style.


# 611:323e11065f83 04-Apr-2018 Valentin Bartenev

Style: capitalized letters in hexadecimal literals.


# 596:7d08f1a74b74 29-Mar-2018 Igor Sysoev

Using nxt_lvlhsh_peek() and nxt_lvlhsh_retrieve().


Revision tags: 0.7
# 583:39771486d997 21-Mar-2018 Max Romanov

Triggering RPC error for all handlers on port close.

This is required to avoid crashes and memory leaks on Unit exit.


# 582:78e10b7de603 21-Mar-2018 Max Romanov

Registered RPC handlers affects port use counters.

Service process port gets closed and released by runtime on process exit,
but there can be active RPC handlers, which uses port structure.


Revision tags: 0.6, 0.5
# 494:7c83ddcc1c42 24-Jan-2018 Sergey Kandaurov

Fixed formatting in nxt_sprintf() and logging.


Revision tags: 0.4, 0.3
# 427:05ae752c6cfb 27-Dec-2017 Max Romanov

Rescheduling of pending request after configured timeout.

New optional configuration parameter introduced: limits.reschedule_timeout.
Default value 1 second. In the case when request is written to

Rescheduling of pending request after configured timeout.

New optional configuration parameter introduced: limits.reschedule_timeout.
Default value 1 second. In the case when request is written to the port
socket 'in advance', it is called 'pending'.

On every completed request, the head of pending request is checked against
reschedule timeout. If this request waiting for execution longer than
timeout, it is cancelled, new port selected for this request.

show more ...


# 425:1da949cf0a34 27-Dec-2017 Max Romanov

Fixing application timeout.

Application timeout limits maximum time of worker response in processing
particular request. Not including the time required to start worker,
time in request queue etc.


Revision tags: 0.2
# 318:c2442f5e054d 15-Sep-2017 Max Romanov

Introducing application timeout.


Revision tags: 0.1
# 277:6baa1731cc6f 05-Sep-2017 Igor Sysoev

Style fixes.


# 204:69543fa67cc8 11-Aug-2017 Max Romanov

RPC: peer pid special value -1 may be used if pid is unknown.


# 190:0dbd1ceae3a2 02-Aug-2017 Max Romanov

Port RPC interface introduced.

Usage:
1. Register handlers in incoming port with nxt_port_rpc_register_handler().
2. Use return value as a stream identifier for next nxt_port_socket_write().