comparison seobeo/s_web.c @ 79:5710108c949e

[Seobeo] Added Redirect logic.
author June Park <parkjune1995@gmail.com>
date Thu, 01 Jan 2026 05:57:03 -0800
parents e7bf9e002850
children 1ded13720541
comparison
equal deleted inserted replaced
78:e7bf9e002850 79:5710108c949e
498 498
499 void *p_request_header = Dowa_Arena_Allocate(p_request_arena, 4096); 499 void *p_request_header = Dowa_Arena_Allocate(p_request_arena, 4096);
500 if (!p_request_header) { perror("Dowa_Arena_Allocate"); return -1; } 500 if (!p_request_header) { perror("Dowa_Arena_Allocate"); return -1; }
501 501
502 int request_len = Seobeo_Web_GenerateRequestHeader(p_request_header, host, path); 502 int request_len = Seobeo_Web_GenerateRequestHeader(p_request_header, host, path);
503 // DEBUG 503
504 // printf("request: %s\n", (char *)p_request_header);
505 Seobeo_Handle_Queue(h, (uint8 *)p_request_header, (uint32)request_len); 504 Seobeo_Handle_Queue(h, (uint8 *)p_request_header, (uint32)request_len);
506 if (Seobeo_Handle_Flush(h) < 0) 505 if (Seobeo_Handle_Flush(h) < 0)
507 { 506 {
508 perror("Seobeo_Handle_Flush"); 507 perror("Seobeo_Handle_Flush");
509 Seobeo_Handle_Destroy(h); 508 Seobeo_Handle_Destroy(h);