diff options
author | Ed Tanous <ed.tanous@intel.com> | 2017-05-16 19:17:42 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2017-05-16 19:17:42 +0300 |
commit | 4c3cbc61689c714e34a7bb80b1ace90db37a36c1 (patch) | |
tree | 96ec13d718374b53170f70d0aee60a0badfabc59 /crow | |
parent | 2d02dcde06b3d9bb6d43936ef9dc34010b5f1301 (diff) | |
download | bmcweb-4c3cbc61689c714e34a7bb80b1ace90db37a36c1.tar.xz |
enable logging
Diffstat (limited to 'crow')
-rw-r--r-- | crow/include/crow/socket_adaptors.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crow/include/crow/socket_adaptors.h b/crow/include/crow/socket_adaptors.h index 34bf8016a8..c55e4d5a36 100644 --- a/crow/include/crow/socket_adaptors.h +++ b/crow/include/crow/socket_adaptors.h @@ -84,6 +84,9 @@ struct SSLAdaptor { fail, because the adapter is gone. As is, do_read beleives the parse failed, because is_open now returns False (which could also mean the client disconnected during parse) + UPdate: The parser does in fact have an "is_upgrade" method that is intended + for exactly this purpose. Todo is now to make do_read obey the flag + appropriately. */ if (ssl_socket_ != nullptr) { return ssl_socket_->lowest_layer().is_open(); |