request header 더 큰 값 허용

This commit is contained in:
Lectom C Han
2025-12-10 11:13:22 +09:00
parent 3038a2978b
commit 761f948a62
5 changed files with 12 additions and 17 deletions

View File

@@ -42,6 +42,7 @@ func main() {
app := fiber.New(fiber.Config{
DisableStartupMessage: true,
ReadBufferSize: 16 * 1024, // allow larger request headers (e.g., proxy cookies)
})
app.Get("/", func(c *fiber.Ctx) error {
@@ -145,9 +146,9 @@ func maybeStartScheduler() func() context.Context {
command := defaultJob
sched, err := schedule.Start(schedule.Config{
CronExpr: cronExpr,
Command: command,
Logger: log.Default(),
CronExpr: cronExpr,
Command: command,
Logger: log.Default(),
})
if err != nil {
log.Printf("scheduler not started (error=%v)", err)