plumber icon indicating copy to clipboard operation
plumber copied to clipboard

Full support for container types

Open 38 opened this issue 6 years ago • 0 comments

Currently, we have merged the container RLS types, but is far away from finished.

pstd_blob_* is the function that manages a typed memory region. It also caches the RLS object for future use.

pstd_array_* is the implementation for the array type. (Needs the blob model to create)

pstd_type_model_field_t served as the accessor in a memory blob

For the generic servlet with type "Array $T", we need add a type assertion and in the type assertion we will be able to create the blob model, since $T is known.

For each time we want to read/write a RLS token using the cache, we need to use the blob model.

But for now, it's better to add some laziness to the HTTP parsere. (For exmaple, some unused header never gets parsed, etc.) So it seems we need to implement a seperate library so that we can create some RLS object specific for HTTP senario rather than use the generic one

38 avatar Feb 26 '18 15:02 38