aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-07-19 16:56:53 +1000
committerDavid Timber <mieabby@gmail.com>2021-07-19 16:56:53 +1000
commit74b8ff26438732b0ffbe20e128e99ecd92f8137a (patch)
tree42cc21c5f623bd7c9677d44f6bea0e4af3887d4c /.vscode
parenta9dfe7f6055de66742f389d13adbb71101f9c8c0 (diff)
Fix htbt hang, fix proone-hostinfo crash bug ...
* Fix htbt hang bug - stagnant data in ssl ctx buffer not flushed * Add pending_f() abstraction for mbedtls_ssl_check_pending() * Call read_f() when pending_f() returns true * Add macro functions: prne_is_nberr() and prne_mbedtls_is_nberr() * read_f() and write_f() will always set errno to EAGAIN in the event of MBEDTLS_ERR_SSL_WANT_READ and MBEDTLS_ERR_SSL_WANT_WRITE * proone-hostinfo: fix crash bug when program init is not successful * launch.json: Ignore SIGPIPE to hostinfod
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index bd9d2e0..9bf7391 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -168,7 +168,13 @@
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
- "setupCommands": [],
+ "setupCommands": [
+ {
+ "description": "Ignore SIGPIPE",
+ "text": "handle SIGPIPE nostop print",
+ "ignoreFailures": false
+ }
+ ],
"preLaunchTask": "Build hostinfod",
"miDebuggerPath": "/usr/bin/gdb"
},