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: mbed/ModBaseClass.cpp
- Revision:
- 19:33b9ba0859ee
- Parent:
- 17:f29e1ca90e3d
--- a/mbed/ModBaseClass.cpp Fri Apr 26 14:55:24 2013 +0000
+++ b/mbed/ModBaseClass.cpp Sat Apr 27 13:31:57 2013 +0000
@@ -39,6 +39,11 @@
if(this->_path==NULL){
return false;
}
+ //connectonの状態を確認
+ if(!NyLPC_cHttpdConnection_getReqStatus(i_connection._ref_inst)==NyLPC_cHttpdConnection_ReqStatus_REQPARSE)
+ {
+ return NyLPC_TBool_FALSE;
+ }
const NyLPC_TChar* in_url;
in_url=NyLPC_cHttpdConnection_getUrlPrefix(i_connection._ref_inst);
size_t base_url_len=strlen(this->_path);
