std.http.Server: fix error set

It incorrectly had NotWriteable and MessageTooLong in it.
This commit is contained in:
Andrew Kelley 2024-02-11 14:57:26 -07:00
parent f58c59f89f
commit f1cf300c8f

View File

@ -712,7 +712,7 @@ pub const Response = struct {
}
}
pub const FinishError = WriteError || error{MessageNotCompleted};
pub const FinishError = Connection.WriteError || error{MessageNotCompleted};
/// Finish the body of a request. This notifies the server that you have no more data to send.
/// Must be called after `send`.