diff --git a/examples/scripts/run-quick-start.sh b/examples/scripts/run-quick-start.sh index 342f472..1d5d396 100644 --- a/examples/scripts/run-quick-start.sh +++ b/examples/scripts/run-quick-start.sh @@ -8,12 +8,14 @@ echo ${WORKDIR} killall -9 QuickStartDemo -echo "${WORKDIR}/../bin/QuickStartDemo --config=${WORKDIR}/../../examples/QuickStartDemo/HelloServer/Server/config.conf" +echo "start server: ${WORKDIR}/../bin/QuickStartDemo --config=${WORKDIR}/../../examples/QuickStartDemo/HelloServer/Server/config.conf &" + ${WORKDIR}/../bin/QuickStartDemo --config=${WORKDIR}/../../examples/QuickStartDemo/HelloServer/Server/config.conf & sleep 3 -echo "${WORKDIR}/../bin/QuickStartDemoClient" +echo "client: ${WORKDIR}/../bin/QuickStartDemoClient" + ${WORKDIR}/../bin/QuickStartDemoClient diff --git a/servant/servant/Message.h b/servant/servant/Message.h index ad51547..919f38e 100644 --- a/servant/servant/Message.h +++ b/servant/servant/Message.h @@ -231,8 +231,9 @@ struct ReqMessage : public TC_HandleBase proxy = NULL; pObjectProxy = pObj; + response = std::make_shared(); // sReqData.clear(); - sReqData = std::make_shared(); + sReqData = std::make_shared(); pMonitor = NULL; bMonitorFin = false;