<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20151124155930025409 { }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span></div><div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">I guess I need to deal with the QF source codes directly. Can someone <span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">shed light on this please ?</span></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:chenrongshu@yxinvestment.com">陈荣澍</a></div><div><b>Date:</b> 2015-11-23 08:33</div><div><b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com">quickfixn</a></div><div><b>Subject:</b> Re: Re: {{Quickfixn}} How to catch transport-layer exception</div></div></div><div><div class="FoxDiv20151124155930025409">
<div><span></span>Hi Grant,</div><div><br></div><div>Yes, is there a way to support <span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">non english characters</span>?</div><div><br></div><div>Thanks.</div><blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:gbirchmeier@connamara.com">Grant Birchmeier</a></div><div><b>Date:</b> 2015-11-20 23:56</div><div><b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com">Mailing list for QuickFIX/n</a></div><div><b>Subject:</b> Re: {{Quickfixn}} How to catch transport-layer exception</div></div></div><div><div class="FoxDiv20151123083033098562"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">Is this error being caused by messages that contain Chinese characters?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 20, 2015 at 1:16 AM, 陈荣澍 <span dir="ltr"><<a href="mailto:chenrongshu@yxinvestment.com" target="_blank">chenrongshu@yxinvestment.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.5em; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div>
<div><span></span>Everytime there is a transport-layer exception, QF will kick out the current session and re-init a logon request like below. Is there a way to catch this kind of exception to avoid re-<span>initializing </span>the current session?</div>
<div><br></div><div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt"><div><span style="background-color:rgba(0,0,0,0)">20151120-07:00:38.656 : Connection succeeded<br>20151120-07:00:38.675 : Session reset: ResetOnLogon<br>20151120-07:00:38.696 : Session reset: ResetSeqNumFlag<br>20151120-07:00:38.698 : Initiated logon request<br>20151120-07:00:38.970 : Sequence numbers reset due to ResetSeqNumFlag=Y<br>20151120-07:00:40.899 : Received logon<br><font color="#ff0000">20151120-07:00:48.843 : Invalid message: Expected BodyLength=295, Received BodyLength=255<br>20151120-07:00:48.868 : Session FIX.4.2:client->Q_SERVER disconnecting: QuickFix.InvalidMessage: Invalid message: Expected BodyLength=295, Received BodyLength=255</font><br>   在 QuickFix.Session.Next(MessageBuilder msgBuilder)<br>   在 QuickFix.Session.NextMessage(String msgStr)<br>   在 QuickFix.Session.Next(String msgStr)<br>   在 QuickFix.SocketInitiatorThread.ProcessStream()<br>   在 QuickFix.SocketInitiatorThread.Read()<br><font color="#ff0000">20151120-07:00:48.903 : Connecting to 10.253.251.93 on port 3383<br>20151120-07:00:48.909 : Connection succeeded</font><br>20151120-07:00:48.921 : Session reset: ResetOnLogon<br>20151120-07:00:48.929 : Session reset: ResetSeqNumFlag<br><font color="#ff0000">20151120-07:00:48.930 : Initiated logon request</font><br>20151120-07:00:49.400 : Sequence numbers reset due to ResetSeqNumFlag=Y</span></div><div><span style="background-color:rgba(0,0,0,0)"><br></span></div><div><span style="background-color:rgba(0,0,0,0)">Justin Chen</span></div><div><span style="background-color:rgba(0,0,0,0)">Thanks</span></div></div></span></div>
</div><br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>
</div></div></blockquote>
</div></div></blockquote>
</body></html>