Skip to content

Async radius request handling#1

Draft
mriemensberger wants to merge 3 commits into
masterfrom
async-requests
Draft

Async radius request handling#1
mriemensberger wants to merge 3 commits into
masterfrom
async-requests

Conversation

@mriemensberger

Copy link
Copy Markdown
Owner

No description provided.

Philipp Stanner added 3 commits November 24, 2022 10:43
Moves code needed by both sendserver.c and sendserver_async.c to a
separate file. Adds an associated header.
- Implements async requests by splitting the original send_server_ctx()
  function in sendserver.c into two halves, one for sending, one for
  receiving.
- Stores the state for each request in a separate handle, which all are
  enqueued into a multi-handle.
- Adds the necessary request functions in buildreq_async.c and an
  example program, radembedded_async.c
- Adds async handling functions in sendserver_async.c
- In principle also supports TCP, but the connect() and thus sending
  requests might block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant