diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-05-05 11:53:39 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-05-07 15:43:13 +0000 |
commit | 0b2b24a53316bee939d8921d8eb11254be7ce8a2 (patch) | |
tree | fdf43a078d026d954fc36a1b19eb1afef89608bb /morphlib/plugins | |
parent | f6e36277bb06620f1f25ef10caed950fa22c1f5b (diff) | |
download | morph-0b2b24a53316bee939d8921d8eb11254be7ce8a2.tar.gz |
distbuild: Fix initiator hanging when protocol errors occur
If the initiator sends an invalid build-request message, it will now
exit with the following sort of error:
ERROR: Failed to build baserock:baserock/definitions
f2d78e9b7221bca65cba53af3f3b50d50d90628f
systems/build-system-x86_64.morph: Invalid build-request message. Check
you are using a supported version of Morph. This distbuild network uses
protocol version 2.
Previously, the controller would log an error to its log file, but it
would not send any response to the initiator so the initiator would
hang forever.
Behaviour is the same as before for the case where the initiator sends a
build-request message with the wrong protocol version: the initiator
will exit with an error message.
Change-Id: I94fdee02bc701d4a679a0261b3c46dbdf14cfcaf
Diffstat (limited to 'morphlib/plugins')
0 files changed, 0 insertions, 0 deletions