diff --git a/.drone.yml b/.drone.yml index b71b99e488..e7ae6ebbda 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,27 +7,19 @@ platform: arch: amd64 steps: -- name: build - image: gcc +- name: smoke_test + image: python:3.8 commands: - apt-get update - - apt-get install -y cmake build-essential + - apt-get install -y cmake build-essential gcc + - pip3 install psutil + - pip3 install guppy3 + - pip3 install src/connector/python/linux/python3/ - mkdir debug - cd debug - cmake .. - make - when: - branch: - - develop - - master - -- name: smoke_test - image: python:3.8 - commands: - - pip3 install psutil - - pip3 install guppy3 - - pip3 install src/connector/python/linux/python3/ - - cd tests + - cd ../tests - ./test-all.sh smoke when: branch: diff --git a/src/plugins/http/inc/httpInt.h b/src/plugins/http/inc/httpInt.h index 634468f3cc..0a5822b908 100644 --- a/src/plugins/http/inc/httpInt.h +++ b/src/plugins/http/inc/httpInt.h @@ -171,7 +171,7 @@ typedef struct HttpThread { EpollFd pollFd; int32_t numOfContexts; int32_t threadId; - char label[HTTP_LABEL_SIZE]; + char label[HTTP_LABEL_SIZE << 1]; bool (*processData)(HttpContext *pContext); } HttpThread;