add http interface
This commit is contained in:
parent
3148463ab3
commit
92281bb4a3
|
@ -691,7 +691,8 @@ int64_t transInitHttpChanImpl() {
|
||||||
tError("http-report failed init uv, reason:%s", uv_strerror(err));
|
tError("http-report failed init uv, reason:%s", uv_strerror(err));
|
||||||
httpModuleDestroy(http);
|
httpModuleDestroy(http);
|
||||||
taosMemoryFree(http);
|
taosMemoryFree(http);
|
||||||
return TSDB_CODE_THIRDPARTY_ERROR;
|
terrno = TSDB_CODE_THIRDPARTY_ERROR;
|
||||||
|
return terrno;
|
||||||
}
|
}
|
||||||
|
|
||||||
http->asyncPool = transAsyncPoolCreate(http->loop, 1, http, httpAsyncCb);
|
http->asyncPool = transAsyncPoolCreate(http->loop, 1, http, httpAsyncCb);
|
||||||
|
|
Loading…
Reference in New Issue