Enhancements

Add double condition for node filtering in group generator.
Optimize codes.
This commit is contained in:
Tindy X committed 2019-12-28 17:22:11 +08:00
1 parent 579b30bfc3
commit 704a364dc2
5 files changed
+94 -108

No files matched your search

+2 -2
View File
@@ -28,9 +28,9 @@ std::vector<responseRoute> responses;
static inline void buffer_cleanup(struct evbuffer *eb)
{
evbuffer_free(eb);
#ifdef MALLOC_TRIM
#ifdef MALLOC_TRIM
malloc_trim(0);
#endif // MALLOC_TRIM
#endif // MALLOC_TRIM
}
static inline int process_request(const char *method_str, std::string uri, std::string &postdata, std::string &content_type, std::string &return_data)