~georgeunix-5/lwan-unofficial/master

Viewing all changes in revision 2159.

  • Committer: Leandro Pereira
  • Date: 2018-10-14 23:42:14 UTC
  • Revision ID: git-v1:d1a827c3054f953f6ab08999af3f1279dda7d60f
Save memory in response struct by using an anonymous union

For streaming responses, not every field in the response struct is
needed, as the handlers themselves are responsible for creating the
headers themselves.  This change saves 8 bytes/request struct.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: