Skip to content

Commit

Permalink
more debuging
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshibobade21 committed Nov 21, 2023
1 parent f3c5923 commit 8d6653c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion c/httpserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -5420,7 +5420,7 @@ static void serializeStartRunning(HttpConversation *conversation) {
#define MAIN_WAIT_MILLIS 10000

static int httpTaskMain(RLETask *task){
printf("---INSIDE pseudoRespond\n");
printf("---INSIDE httpTaskMain\n");
int serviceResult = 0;

HttpWorkElement *element = (HttpWorkElement*)task->userPointer;
Expand Down Expand Up @@ -6109,6 +6109,7 @@ HttpResponse *pseudoRespond(HttpServer *server, HttpRequest *request, ShortLived
int httpWorkElementHandler(STCBase *base,
STCModule *module,
WorkElementPrefix *prefix) {
printf("---INSIDE httpWorkElementHandler\n");
int status = 0;
switch (prefix->payloadCode) {
case HTTP_CONSIDER_CLOSE_CONVERSATION:
Expand Down Expand Up @@ -6361,6 +6362,7 @@ int httpBackgroundHandler(STCBase *base, STCModule *module, int selectStatus) {

void registerHttpServerModuleWithBase(HttpServer *server, STCBase *base)
{
printf("INSIDE registerHttpServerModuleWithBase\n");
/* server pointer will be copied/accessible from module->data */
STCModule *httpModule = stcRegisterModule2(base,
STC_MODULE_JEDHTTP,
Expand All @@ -6373,6 +6375,7 @@ void registerHttpServerModuleWithBase(HttpServer *server, STCBase *base)
}

int mainHttpLoop(HttpServer *server){
printf("INSIDE mainHttpLoop\n");
STCBase *base = server->base;
/* server pointer will be copied/accessible from module->data */
STCModule *httpModule = stcRegisterModule2(base,
Expand Down

0 comments on commit 8d6653c

Please sign in to comment.