Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

fix read_struct #95

Merged
merged 1 commit into from
Mar 8, 2015
Merged

fix read_struct #95

merged 1 commit into from
Mar 8, 2015

Conversation

maralla
Copy link
Contributor

@maralla maralla commented Mar 6, 2015

Inconsistency between server and client side thrift struct may cause
undefined behavior.
Traverse whole struct fields to ignore missed fields.
Use `skip` instead of raising exception to avoid wrong type fields.
@maralla
Copy link
Contributor Author

maralla commented Mar 6, 2015

@lxyu added more commit message

lxyu added a commit that referenced this pull request Mar 8, 2015
@lxyu lxyu merged commit 8c61f7d into Thriftpy:develop Mar 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants