commit | abd8e2550acb1af2ba0cafcc51bc555d5b54add0 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Jan 19 15:42:48 2017 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Jan 19 16:41:55 2017 +0800 |
tree | edbd9595607bd990e6a7db3070175894868de473 | |
parent | 5708dfb2f132c972df8f0b650101a8953008441e [diff] |
socket-handler: fix leak if we exit with multiple clients sh->n_clients is decremented by client_close(), so don't iterate through the array. Change-Id: Id44b596a483758fb8218d472a3ac411c04aacd74 Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.