History log of /unit/go/ (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 1.32.1-1, 1.32.0-1, 1.32.0
2612:3774f26d544d09-Jan-2024 Danielle De Leo

Go: Add missing +build and go:build comments

A RHEL 8 test was failing because it uses go1.16. The old style must
be retained for backwards compat.

Fixes: 9a36de84c ("Go: Use Homebrew include paths

Go: Add missing +build and go:build comments

A RHEL 8 test was failing because it uses go1.16. The old style must
be retained for backwards compat.

Fixes: 9a36de84c ("Go: Use Homebrew include paths")
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Reviewed-by: Dylan Arbour <d.arbour@f5.com>
Signed-off-by: Danielle De Leo <d.deleo@f5.com>

show more ...

2605:cec85383ddee05-Dec-2023 Danielle De Leo

Go: Use Homebrew include paths

Fixes nginx/unit#967

Revision tags: 1.31.1-1, 1.31.1, 1.31.0-1, 1.31.0, 1.30.0-1, 1.30.0, 1.29.1-1, 1.29.1, 1.29.0-1, 1.29.0, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0
2062:ede07f84045b10-Jan-2022 Max Romanov

Tests: using modules in Go.

Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0
1996:35873fa78fed09-Nov-2021 Tiago Natel de Moura

Introduced SCM_CREDENTIALS / SCM_CREDS in the socket control msgs.

1993:219b31af2f8108-Nov-2021 Max Romanov

Go: fixing racing condition on app start.

Request procesing loop should be started in ready handler to avoid race
between go-routine start and context ready flag assignment.

The issue introduced in

Go: fixing racing condition on app start.

Request procesing loop should be started in ready handler to avoid race
between go-routine start and context ready flag assignment.

The issue introduced in 43553aa72111.

show more ...

1980:43553aa7211128-Oct-2021 Max Romanov

Moving request limit control to libunit.

Introducting application graceful stop. For now only used when application
process reach request limit value.

This closes #585 issue on GitHub.

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
1713:f5ba5973a0a318-Nov-2020 Max Romanov

Go: removing C proxy functions and re-using goroutines.

Revision tags: 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0
1547:cbcd76704c9011-Aug-2020 Max Romanov

Introducing the shared application port.

This is the port shared between all application processes which use it to pass
requests for processing. Using it significantly simplifies the request
proces

Introducing the shared application port.

This is the port shared between all application processes which use it to pass
requests for processing. Using it significantly simplifies the request
processing code in the router. The drawback is 2 more file descriptors per each
configured application and more complex libunit message wait/read code.

show more ...

1544:05af370e63b711-Aug-2020 Max Romanov

Adding a reference counter to the libunit port structure.

The goal is to minimize the number of (pid, id) to port hash lookups which
require a library mutex lock. The response port is found once pe

Adding a reference counter to the libunit port structure.

The goal is to minimize the number of (pid, id) to port hash lookups which
require a library mutex lock. The response port is found once per request,
while the read port is initialized at startup.

show more ...

1543:42f27153db9111-Aug-2020 Max Romanov

Libunit refactoring: port management.

- Changed the port management callbacks to notifications, which e. g. avoids
the need to call the libunit function
- Added context and library instance referenc

Libunit refactoring: port management.

- Changed the port management callbacks to notifications, which e. g. avoids
the need to call the libunit function
- Added context and library instance reference counts for a safer resource
release
- Added the router main port initialization

show more ...

Revision tags: 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0
1452:e95c1033001310-Apr-2020 Max Romanov

Resolving a racing condition while adding ports on the app's side.

An earlier attempt (ad6265786871) to resolve this condition on the
router's side added a new issue: the app could get a request bef

Resolving a racing condition while adding ports on the app's side.

An earlier attempt (ad6265786871) to resolve this condition on the
router's side added a new issue: the app could get a request before
acquiring a port.

show more ...

1438:5e5a3897e0cd30-Mar-2020 Max Romanov

Fixing application process infinite loop.

Main process exiting before app process init may have caused hanging.

Revision tags: 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
1323:6dfc9895e25e24-Dec-2019 Max Romanov

Go: introducing SHM_ACK observer.

Each request processed in a separate goroutine. In case of OOSM state,
during response write, request goroutine blocks on channel which waits
event from main threa

Go: introducing SHM_ACK observer.

Each request processed in a separate goroutine. In case of OOSM state,
during response write, request goroutine blocks on channel which waits
event from main thread about SHM_ACK message from router.

show more ...

1316:5b767c6bfd0a24-Dec-2019 Max Romanov

Go: moving source files to the root of the project.

This patch includes packaging changes related to files move.