summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/HttpBootDxe
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-05-31 22:17:27 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-06-13 11:51:47 +0800
commit30526a51dda7e8db483f22a045f32f3a18eea5c7 (patch)
tree0ec7afb8a314346e2560a9e688094fd3a5ab675f /NetworkPkg/HttpBootDxe
parent5ffe214ae95be9cb3dfca3d1dc254ad9f1f6fe45 (diff)
downloadedk2-30526a51dda7e8db483f22a045f32f3a18eea5c7.tar.gz
edk2-30526a51dda7e8db483f22a045f32f3a18eea5c7.tar.bz2
edk2-30526a51dda7e8db483f22a045f32f3a18eea5c7.zip
NetworkPkg: HttpDxe response/cancel issue fix
Remove timeout check for http body message receive. It should be handled in HttpBootDxe driver for http response unblocking implementation. After timeout removed, the Wrap date should not be freed immediately. Only the TCP CompletionToken in Wrap date is canceled or signaled, the Wrap date could be freed. In addition, Http cancel token is also incorrect. Tcp Cancel should be called to cancel TCP CompletionToken in Wrap date before close it directly. Otherwise, some exception behavior may happened. This patch also refine the coding style for HttpDxe driver. Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Zhang Lubo <lubo.zhang@intel.com> Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: Gary Lin <glin@suse.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Gary Lin <glin@suse.com> Reviewed-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Tested-by: Gary Lin <glin@suse.com> Tested-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe')
0 files changed, 0 insertions, 0 deletions