picoev, x.vweb: small fixes and backport changes from vweb (#20584)

This commit is contained in:
Casper Küthe 2024-01-23 17:34:22 +01:00 committed by GitHub
parent 2874e7cac0
commit d88ca11a4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 319 additions and 129 deletions

View file

@ -50,6 +50,6 @@ fn callback(data voidptr, req picohttpparser.Request, mut res picohttpparser.Res
fn main() {
println('Starting webserver on http://localhost:${port}/ ...')
mut server := picoev.new(port: port, cb: callback)
mut server := picoev.new(port: port, cb: callback)!
server.serve()
}