WPS: Check maximum HTTP body length earlier in the process
authorJouni Malinen <j@w1.fi>
Tue, 28 Apr 2015 14:23:06 +0000 (17:23 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 15:26:50 +0000 (18:26 +0300)
commit7da4f4b4991c85f1122a4591d8a4b7dd3bd12b4e
tree05c4e025b9fb6a764ffe7d1acb0de3192c1bd30d
parentaf185d0b578fc447b1db0b42a03d8b2467decffd
WPS: Check maximum HTTP body length earlier in the process

There is no need to continue processing a HTTP body when it becomes
clear that the end result would be over the maximum length.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/wps/httpread.c