/*
* http_data_cb does not return data chunks. It will be call arbitrarally
* many times for each string. E.G. you might get 10 callbacks for "on_path"
* each providing just a few characters more data.
*/
Maybe i did not understand ragel docs about %actions.
Is this still true? Could you please write an example of copying headers to separate array of struct { char *name; char *value; }?
http://github.com/ry/http-parser/blob/37a0ff8928fb0d83cec0d0d8909c5a4abcd221af/http_parser.h#L38-40
Maybe i did not understand ragel docs about %actions.
Is this still true? Could you please write an example of copying headers to separate array of
struct { char *name; char *value; }?