Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: core/net/httpd/mod/NyLPC_cModFileIoBaseClass.c
- Revision:
- 43:a182f2b5ff41
- Parent:
- 42:f83aa17dcae5
- Child:
- 48:00d211aac2ec
--- a/core/net/httpd/mod/NyLPC_cModFileIoBaseClass.c Thu Jul 04 11:05:56 2013 +0000
+++ b/core/net/httpd/mod/NyLPC_cModFileIoBaseClass.c Tue Jul 09 12:07:17 2013 +0000
@@ -273,10 +273,10 @@
NyLPC_cUrlEncode_finalize(&single_header.urlencode);
NyLPC_cStr_finalize(&single_header._tstr);
}
- //Connection Modeの設定 1.1 && !closeの場合はCONTINUE
- if(single_header.super.connection!=NyLPC_THttpMessgeHeader_Connection_CLOSE && single_header.super.startline.req.version==NyLPC_THttpVersion_11)
+ //Request::ConnectionがClose設定,又はHTTP1.1では無い場合,CLOSE
+ if(single_header.super.connection==NyLPC_THttpMessgeHeader_Connection_CLOSE || single_header.super.startline.req.version!=NyLPC_THttpVersion_11)
{
- NyLPC_cHttpdConnection_setConnectionMode(i_connection,NyLPC_TcHttpdConnection_CONNECTION_MODE_CONTINUE);
+ NyLPC_cHttpdConnection_setConnectionMode(i_connection,NyLPC_TcHttpdConnection_CONNECTION_MODE_CLOSE);
}
//返答フェーズ
{
