File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -63,4 +63,7 @@ History
6363
6464* 20150508, V0.0.7
6565 * Fixed request error handling. Request must be aborted if error has occurred
66- * Added option to set a request timeout
66+ * Added option to set a request timeout
67+
68+ * 20150511, V0.0.8
69+ * Enforce a default timeout of 20000 msecs to cleanup if client is connected but server does not send a response.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function assignDefaultCommandOptions(options) {
2929
3030function postRequest ( command , options ) {
3131 var requestOptions = _ . assign ( {
32- timeout : 0 ,
32+ timeout : 20000 ,
3333 port : 10000 ,
3434 path : 'smartplug.cgi' ,
3535 method : 'POST' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " edimax-smartplug" ,
3- "version" : " 0.0.7 " ,
3+ "version" : " 0.0.8 " ,
44 "description" : " Node module to communicate with Edimax Smart Plugs" ,
55 "author" : {
66 "name" : " Marcus Wittig" ,
You can’t perform that action at this time.
0 commit comments