diff --git a/httpclimgr.go b/httpclimgr.go index d7ca04b..479ef88 100644 --- a/httpclimgr.go +++ b/httpclimgr.go @@ -297,7 +297,11 @@ func (this *httpCliMgr) internalSendGetOrPost( } } } - go doFunc() + if style == GO_STYLE_REQUEST { + doFunc() + } else { + go doFunc() + } return handle }