diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-01-16 16:27:05 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-01-16 16:27:05 +0100 |
commit | 70638056ae44d5976b8557fbbdce40575d794324 (patch) | |
tree | 887ccbbda9f85aa036a2fe3466669ff1c11fe17e /develdoc.txt | |
parent | c2c7de6bf42a8598e9a482a452c1f3edb34d2c94 (diff) |
Add more overview to develdoc and correct a factual error.
Diffstat (limited to 'develdoc.txt')
-rw-r--r-- | develdoc.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/develdoc.txt b/develdoc.txt index 4380412..5cfc0b2 100644 --- a/develdoc.txt +++ b/develdoc.txt @@ -21,8 +21,8 @@ This is all that happens in the main thread. The threads created above need to take care of the rest. Client writers are generally responsible for sending messages to -clients, and if necessary creating and maintaining connections to -the client. Client writers create threads for handling replies from +servers, and if necessary creating and maintaining connections to +the server. Client writers create threads for handling replies from servers. If connections are used, one thread is created for reading from each connection. clientwr() will use connecter() and clientconnreader() definitions for the transport. @@ -36,6 +36,18 @@ xxxserverrd, where xxx is the transport name. The server reader is responsible for creating a server writer thread that takes care of sending RADIUS replies to a client. + (listener) > server reader <-- requests from clients + client writer --> requests to a server + (client writer) > client reader <-- responses from a server + (server reader) > server writer --> responses to a client + +TODO: they are all their own threads? + +Legend: + > creates + --> sends message + <-- receives message + 2. RADIUS message processing ============================ |