Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I'm changing Zed's original design of having a callback for each element in the parser. Rather there will be two callbacks for headers: one for unknown headers and one for known headers - there is an enum which defines the known headers. The idea here is to easily add preallocated global variables for often seen header values in the ruby binding. This has only been done so far with Content-Type, but I will add many more soon. This change simplifies ebb.c greatly.
- Loading branch information
Ryan Dahl
committed
Mar 22, 2008
1 parent
eb87a28
commit 9d81073
Showing
5 changed files
with
105 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.