Adapt to firecgi API change, add asan target, new Makefile ar merge method

This commit is contained in:
flamingcow
2019-05-07 23:26:48 -07:00
parent 990e28a0ce
commit 3ef9cabbd5
6 changed files with 20 additions and 14 deletions

View File

@@ -8,13 +8,13 @@ namespace firesse {
class Stream {
public:
Stream(std::unique_ptr<firecgi::Request> request);
Stream(firecgi::Request* request);
[[nodiscard]] bool WriteEvent(const std::string& data, uint64_t id=0, const std::string& type="");
bool End();
private:
std::unique_ptr<firecgi::Request> request_;
firecgi::Request* request_;
};
} // namespace firesse