diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2020-12-01 10:12:50 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-12-01 13:32:18 +0100 |
commit | f8e566bf63fbc24466e153a713f6474b326a2f1b (patch) | |
tree | ffc2f6d1a6fe191bb5ffb2a085fcf785feda34b5 /src/utils/net.py | |
parent | a11224d6f587052226b9f94fc942092d6eab5896 (diff) |
#1000 ogRest: set idle state after processing bad request
Before this patch the ogRest would hang indifinitely in a BUSY state
when a bad request was received. Fix this by returning ogRest state to
IDLE once the corresponding bad request response has been sent.
This accounts for the following cases:
- Unknown GET action
- Unknown POST action
- Unknown HTTP verb
Diffstat (limited to 'src/utils/net.py')
0 files changed, 0 insertions, 0 deletions