Mercurial > hg > orthanc
comparison Core/HttpServer/HttpServer.cpp @ 3154:6e8822be2f08
Fix compatibility with DICOMweb plugin (allow multipart answers over HTTP Keep-Alive)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Jan 2019 12:09:04 +0100 |
parents | 239331e4ee0b |
children | 6d558598d713 |
comparison
equal
deleted
inserted
replaced
3153:706b60e7ee1e | 3154:6e8822be2f08 |
---|---|
106 | 106 |
107 virtual void OnHttpStatusReceived(HttpStatus status) | 107 virtual void OnHttpStatusReceived(HttpStatus status) |
108 { | 108 { |
109 // Ignore this | 109 // Ignore this |
110 } | 110 } |
111 | |
112 virtual void DisableKeepAlive() | |
113 { | |
114 #if ORTHANC_ENABLE_MONGOOSE == 1 | |
115 throw OrthancException(ErrorCode_NotImplemented, | |
116 "Only available if using CivetWeb"); | |
117 #elif ORTHANC_ENABLE_CIVETWEB == 1 | |
118 mg_disable_keep_alive(connection_); | |
119 #endif | |
120 } | |
111 }; | 121 }; |
112 | 122 |
113 | 123 |
114 enum PostDataStatus | 124 enum PostDataStatus |
115 { | 125 { |