Make major improvements to stdio
Buffering now has optimal performance, bugs have been fixed, and some missing apis have been introduced. This implementation is also now more production worthy since it's less brittle now in terms of system errors. That's going to help redbean since lua i/o is all based on stdio. See #97
This commit is contained in:
@ -91,6 +91,9 @@ static const struct HttpReason {
|
||||
|
||||
/**
|
||||
* Returns string describing HTTP reason phrase.
|
||||
*
|
||||
* @see https://tools.ietf.org/html/rfc2616
|
||||
* @see https://tools.ietf.org/html/rfc6585
|
||||
*/
|
||||
const char *GetHttpReason(int code) {
|
||||
int m, l, r;
|
||||
|
||||
Reference in New Issue
Block a user