-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Generate a new project with pushup new and replace app/pages.index.up with:
^handler {
type DemoThing struct {
A string
B string
}
var globalThingPtr *DemoThing
}
<div>
^globalThingPtr.A
</div>
After running pushup run you will trigger a 503 error with a timeout error body rather than a 500 error:
$ curl --silent http://localhost:8080/
<html><head><title>Timeout</title></head><body><h1>Timeout</h1></body></html>The 503 seems to come from http.TimeoutHandler but it is unclear why the errant pointer dereference is causing the timeout. If the same error is made in the ^handler block the expected 500 error is received.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working