Thread: [Quickfix-developers] Rawdata field
Brought to you by:
orenmnero
|
From: Alexey Z. <ale...@in...> - 2005-05-27 17:15:19
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000066"> <br> Hello,<br> <br> I need to send a binary data in a message and I put RawDataLength and RawData fields.<br> But sometimes I have a 'Could not convert field' exception during sending of the message.<br> Is there a limitation on data or is there a known problem in quickfix?<br> <br> Thank you.<br> <br> </body> </html> |
|
From: Caleb E. <cal...@gm...> - 2005-05-31 13:31:13
|
On 5/27/05, Alexey Zubko <ale...@in...> wrote: > I need to send a binary data in a message and I put RawDataLength and > RawData fields. > But sometimes I have a 'Could not convert field' exception during sendin= g > of the message. > Is there a limitation on data or is there a known problem in quickfix? Which version of QuickFIX? There were bugs in versions prior to 1.9.3 when messages contained embedded \0 bytes, even in data fields. --=20 Caleb Epstein caleb dot epstein at gmail dot com |
|
From: Alexey Z. <ale...@in...> - 2005-05-31 13:43:00
|
Caleb, I use the last version - 1.9.4. I sent FIX42::News message with RawData field filled with a random value. When the data was -92 I got the problem. Note it happened not on the first messages. I'm sorry I have no time to debug the code by myself right now. Let me know if you need more details. Regards, Alexey Zubko Caleb Epstein wrote: >On 5/27/05, Alexey Zubko <ale...@in...> wrote: > > > >> I need to send a binary data in a message and I put RawDataLength and >>RawData fields. >> But sometimes I have a 'Could not convert field' exception during sending >>of the message. >> Is there a limitation on data or is there a known problem in quickfix? >> >> > >Which version of QuickFIX? There were bugs in versions prior to 1.9.3 >when messages contained embedded \0 bytes, even in data fields. > > > |
|
From: Caleb E. <cal...@gm...> - 2005-05-31 14:11:32
|
On 5/31/05, Alexey Zubko <ale...@in...> wrote: > I use the last version - 1.9.4. > I sent FIX42::News message with RawData field filled with a random value= . > When the data was -92 I got the problem. > Note it happened not on the first messages. Session logfiles (and optionally code) might help to debug this. Not sure what you mean by the value of RawData being "-92". Is this the actual string value? --=20 Caleb Epstein caleb dot epstein at gmail dot com |
|
From: Alexey Z. <ale...@in...> - 2005-05-31 14:26:31
|
20050527-15:15:54 : Created session 20050527-15:15:54 : Connecting to localhost on port 1111 20050527-15:15:54 : Connection succeeded 20050527-15:15:55 : Initiated logon request 20050527-15:15:55 : Received logon response 20050527-15:18:09 : Created session 20050527-15:18:09 : Connecting to localhost on port 1111 20050527-15:18:09 : Connection succeeded 20050527-15:18:10 : Initiated logon request 20050527-15:18:10 : Dropped Connection 20050527-15:18:20 : Connecting to localhost on port 1111 20050527-15:18:20 : Connection succeeded 20050527-15:18:20 : Initiated logon request 20050527-15:18:20 : Dropped Connection 20050527-15:56:56 : Initiated logout request 20050527-15:56:56 : Received logout response 20050527-15:56:56 : Disconnecting 20050527-16:16:46 : Created session 20050527-16:16:46 : Connecting to localhost on port 1111 20050527-16:16:46 : Connection succeeded 20050527-16:16:47 : Initiated logon request 20050527-16:16:47 : Received logon response 20050527-16:23:59 : Received logout request 20050527-16:23:59 : Sending logout response 20050527-16:23:59 : Disconnecting 20050527-16:23:59 : Initiated logon request 20050527-16:24:07 : Connecting to localhost on port 1111 20050527-16:24:07 : Connection succeeded 20050527-16:24:07 : Initiated logon request 20050527-16:24:07 : Received logon response 20050527-16:24:27 : Initiated logout request 20050527-16:24:27 : Received logout response 20050527-16:24:27 : Disconnecting 20050527-16:25:01 : Created session 20050527-16:25:01 : Connecting to localhost on port 1111 20050527-16:25:02 : Connection succeeded 20050527-16:25:02 : Initiated logon request 20050527-16:25:02 : Received logon response 20050527-16:25:42 : Initiated logout request 20050527-16:25:42 : Received logout response 20050527-16:25:42 : Disconnecting 20050527-16:26:17 : Created session 20050527-16:26:17 : Connecting to localhost on port 1111 20050527-16:26:17 : Connection succeeded 20050527-16:26:18 : Initiated logon request 20050527-16:26:18 : Received logon response 20050527-16:27:03 : Received logout request 20050527-16:27:03 : Sending logout response 20050527-16:27:03 : Disconnecting 20050527-16:27:03 : Initiated logon request 20050527-16:27:08 : Connecting to localhost on port 1111 20050527-16:27:09 : Connection failed 20050527-16:27:18 : Connecting to localhost on port 1111 20050527-16:27:19 : Connection failed 20050527-16:27:28 : Connecting to localhost on port 1111 20050527-16:27:29 : Connection failed 20050527-16:27:38 : Connecting to localhost on port 1111 20050527-16:27:40 : Connection failed 20050527-16:27:48 : Connecting to localhost on port 1111 20050527-16:27:49 : Connection failed 20050527-16:27:58 : Connecting to localhost on port 1111 20050527-16:27:59 : Connection failed 20050527-16:28:08 : Connecting to localhost on port 1111 20050527-16:28:09 : Connection failed 20050527-16:28:18 : Connecting to localhost on port 1111 20050527-16:28:19 : Connection failed 20050527-16:28:28 : Connecting to localhost on port 1111 20050527-16:28:29 : Connection failed 20050527-16:28:38 : Connecting to localhost on port 1111 20050527-16:28:39 : Connection failed 20050527-16:28:48 : Connecting to localhost on port 1111 20050527-16:28:49 : Connection failed 20050527-16:28:58 : Connecting to localhost on port 1111 20050527-16:28:59 : Connection failed 20050527-16:29:08 : Connecting to localhost on port 1111 20050527-16:29:09 : Connection failed 20050527-16:29:18 : Connecting to localhost on port 1111 20050527-16:29:19 : Connection failed 20050527-16:29:28 : Connecting to localhost on port 1111 20050527-16:29:29 : Connection failed 20050527-16:29:38 : Connecting to localhost on port 1111 20050527-16:29:39 : Connection failed 20050527-16:29:48 : Connecting to localhost on port 1111 20050527-16:29:49 : Connection failed 20050527-16:29:58 : Connecting to localhost on port 1111 20050527-16:29:59 : Connection failed 20050527-16:30:08 : Connecting to localhost on port 1111 20050527-16:30:09 : Connection failed 20050527-16:30:18 : Connecting to localhost on port 1111 20050527-16:30:20 : Connection failed 20050527-16:30:28 : Connecting to localhost on port 1111 20050527-16:30:29 : Connection failed 20050527-16:30:38 : Connecting to localhost on port 1111 20050527-16:30:38 : Connection succeeded 20050527-16:30:38 : Initiated logon request 20050527-16:30:38 : Received logon response 20050527-16:30:42 : Created session 20050527-16:30:42 : Connecting to localhost on port 1111 20050527-16:30:42 : Connection succeeded 20050527-16:30:43 : Initiated logon request 20050527-16:30:43 : Dropped Connection 20050527-16:30:47 : Initiated logout request 20050527-16:30:47 : Received logout response 20050527-16:30:47 : Disconnecting 20050527-16:30:53 : Connecting to localhost on port 1111 20050527-16:30:53 : Connection succeeded 20050527-16:30:53 : Initiated logon request 20050527-16:30:53 : Received logon response 20050527-16:30:53 : MsgSeqNum too high, expecting 111 but received 112 20050527-16:30:53 : Sent ResendRequest FROM: 111 TO: 111 20050527-16:30:53 : Received SequenceReset FROM: 111 TO: 112 20050527-16:30:53 : Processing QUEUED message: 112 20050527-16:34:03 : Initiated logout request 20050527-16:34:03 : Received logout response 20050527-16:34:03 : Disconnecting 20050527-16:34:35 : Created session 20050527-16:34:35 : Connecting to localhost on port 1111 20050527-16:34:35 : Connection succeeded 20050527-16:34:36 : Initiated logon request 20050527-16:34:36 : Received logon response 20050527-16:34:45 : Initiated logout request 20050527-16:34:45 : Received logout response 20050527-16:34:45 : Disconnecting 20050527-16:34:54 : Created session 20050527-16:34:54 : Connecting to localhost on port 1111 20050527-16:34:54 : Connection succeeded 20050527-16:34:55 : Initiated logon request 20050527-16:34:55 : Received logon response 20050527-16:36:02 : Created session 20050527-16:36:02 : Connecting to localhost on port 1111 20050527-16:36:02 : Connection succeeded 20050527-16:36:03 : Initiated logon request 20050527-16:36:03 : Received logon response 20050527-16:36:03 : MsgSeqNum too high, expecting 123 but received 124 20050527-16:36:03 : Sent ResendRequest FROM: 123 TO: 123 20050527-16:36:03 : Received SequenceReset FROM: 123 TO: 124 20050527-16:36:03 : Processing QUEUED message: 124 20050527-16:36:32 : Created session 20050527-16:36:32 : Connecting to localhost on port 1111 20050527-16:36:32 : Connection succeeded 20050527-16:36:33 : Initiated logon request 20050527-16:36:33 : Received logon response 20050527-16:36:52 : Created session 20050527-16:36:52 : Connecting to localhost on port 1111 20050527-16:36:52 : Connection succeeded 20050527-16:36:53 : Initiated logon request 20050527-16:36:53 : Received logon response 20050527-16:37:36 : Sent test request TEST 20050527-16:38:34 : Created session 20050527-16:38:34 : Connecting to localhost on port 1111 20050527-16:38:34 : Connection succeeded 20050527-16:38:35 : Initiated logon request 20050527-16:38:35 : Received logon response 20050527-16:38:35 : MsgSeqNum too high, expecting 130 but received 131 20050527-16:38:35 : Sent ResendRequest FROM: 130 TO: 130 20050527-16:38:35 : Received SequenceReset FROM: 130 TO: 131 20050527-16:38:35 : Processing QUEUED message: 131 20050527-16:38:45 : Created session 20050527-16:38:45 : Connecting to localhost on port 1111 20050527-16:38:46 : Connection succeeded 20050527-16:38:48 : Initiated logon request 20050527-16:38:48 : Received logon response 20050527-16:41:11 : Timed out waiting for heartbeat 20050527-16:41:11 : Dropped Connection 20050527-16:41:12 : Connecting to localhost on port 1111 20050527-16:41:12 : Connection succeeded 20050527-16:41:12 : Initiated logon request 20050527-16:41:12 : Received logon response 20050527-16:41:12 : Received ResendRequest FROM: 240 TO: 240 20050527-16:41:12 : Resending Message: 240 20050527-17:43:57 : Created session 20050527-17:43:57 : Connecting to localhost on port 1111 20050527-17:43:57 : Connection succeeded 20050527-17:43:58 : Initiated logon request 20050527-17:43:58 : Received logon response 20050527-17:43:58 : MsgSeqNum too high, expecting 138 but received 140 20050527-17:43:58 : Sent ResendRequest FROM: 138 TO: 139 20050527-17:43:58 : Received SequenceReset FROM: 138 TO: 140 20050527-17:43:58 : Processing QUEUED message: 140 20050527-17:46:27 : Received logout request 20050527-17:46:27 : Sending logout response 20050527-17:46:27 : Disconnecting 20050527-17:46:27 : Initiated logon request 20050527-17:46:28 : Connecting to localhost on port 1111 20050527-17:46:29 : Connection failed 20050527-17:46:38 : Connecting to localhost on port 1111 20050527-17:46:39 : Connection failed 20050527-17:46:48 : Connecting to localhost on port 1111 20050527-17:46:49 : Connection failed 20050527-17:46:58 : Connecting to localhost on port 1111 20050527-17:46:59 : Connection failed 20050527-17:47:08 : Connecting to localhost on port 1111 20050527-17:47:09 : Connection failed 20050527-17:47:50 : Created session 20050527-17:47:50 : Connecting to localhost on port 1111 20050527-17:47:50 : Connection succeeded 20050527-17:47:51 : Initiated logon request 20050527-17:47:51 : Received logon response 20050527-17:48:35 : Received logout request 20050527-17:48:35 : Sending logout response 20050527-17:48:35 : Disconnecting 20050527-17:48:35 : Initiated logon request 20050527-17:49:02 : Created session 20050527-17:49:02 : Connecting to localhost on port 1111 20050527-17:49:03 : Connection succeeded 20050527-17:49:04 : Initiated logon request 20050527-17:49:04 : Received logon response 20050527-17:50:07 : Created session 20050527-17:50:07 : Connecting to localhost on port 1111 20050527-17:50:07 : Connection succeeded 20050527-17:50:08 : Initiated logon request 20050527-17:50:08 : Received logon response 20050527-17:50:52 : Created session 20050527-17:50:52 : Connecting to localhost on port 1111 20050527-17:50:53 : Connection failed 20050527-17:50:54 : Connecting to localhost on port 1111 20050527-17:50:55 : Connection failed 20050527-17:51:04 : Connecting to localhost on port 1111 20050527-17:51:05 : Connection succeeded 20050527-17:51:05 : Initiated logon request 20050527-17:51:05 : Received logon response 20050527-19:17:58 : Initiated logout request 20050527-19:17:58 : Received logout response 20050527-19:17:58 : Disconnecting 20050527-19:31:56 : Created session 20050527-19:31:56 : Connecting to localhost on port 1111 20050527-19:31:57 : Connection failed 20050527-19:31:58 : Connecting to localhost on port 1111 20050527-19:31:59 : Connection failed 20050527-19:32:08 : Connecting to localhost on port 1111 20050527-19:32:08 : Connection succeeded 20050527-19:32:08 : Initiated logon request 20050527-19:32:08 : Received logon response 20050527-19:32:18 : Initiated logout request 20050527-19:32:18 : Received logout response 20050527-19:32:18 : Disconnecting 20050527-19:32:19 : Created session 20050527-19:32:19 : Connecting to localhost on port 1111 20050527-19:32:19 : Connection succeeded 20050527-19:32:20 : Initiated logon request 20050527-19:32:20 : Received logon response 20050527-19:33:04 : Created session 20050527-19:33:04 : Connecting to localhost on port 1111 20050527-19:33:04 : Connection succeeded 20050527-19:33:05 : Initiated logon request 20050527-19:33:05 : Received logon response 20050527-19:33:08 : Initiated logout request 20050527-19:33:08 : Received logout response 20050527-19:33:08 : Disconnecting 20050527-19:33:09 : Created session 20050527-19:33:09 : Connecting to localhost on port 1111 20050527-19:33:09 : Connection succeeded 20050527-19:33:10 : Initiated logon request 20050527-19:33:10 : Received logon response 20050527-19:33:52 : Created session 20050527-19:33:52 : Connecting to localhost on port 1111 20050527-19:33:53 : Connection succeeded 20050527-19:33:53 : Initiated logon request 20050527-19:33:53 : Received logon response 20050527-19:33:55 : Initiated logout request 20050527-19:33:55 : Received logout response 20050527-19:33:55 : Disconnecting 20050527-19:33:56 : Created session 20050527-19:33:56 : Connecting to localhost on port 1111 20050527-19:33:56 : Connection succeeded 20050527-19:33:57 : Initiated logon request 20050527-19:33:57 : Received logon response 20050527-19:34:40 : Created session 20050527-19:34:40 : Connecting to localhost on port 1111 20050527-19:34:41 : Connection succeeded 20050527-19:34:41 : Initiated logon request 20050527-19:34:41 : Received logon response 20050527-19:34:43 : Initiated logout request 20050527-19:34:43 : Received logout response 20050527-19:34:43 : Disconnecting 20050527-19:34:44 : Created session 20050527-19:34:44 : Connecting to localhost on port 1111 20050527-19:34:44 : Connection succeeded 20050527-19:34:45 : Initiated logon request 20050527-19:34:45 : Received logon response 20050527-19:34:48 : Initiated logout request 20050527-19:34:48 : Received logout response 20050527-19:34:48 : Disconnecting 20050527-19:34:48 : Created session 20050527-19:34:48 : Connecting to localhost on port 1111 20050527-19:34:48 : Connection succeeded 20050527-19:34:49 : Initiated logon request 20050527-19:34:49 : Received logon response 20050527-19:34:52 : Initiated logout request 20050527-19:34:52 : Received logout response 20050527-19:34:52 : Disconnecting 20050527-19:34:52 : Created session 20050527-19:34:52 : Connecting to localhost on port 1111 20050527-19:34:52 : Connection succeeded 20050527-19:34:53 : Initiated logon request 20050527-19:34:53 : Received logon response 20050527-19:34:55 : Initiated logout request 20050527-19:34:55 : Received logout response 20050527-19:34:55 : Disconnecting 20050527-19:34:56 : Created session 20050527-19:34:56 : Connecting to localhost on port 1111 20050527-19:34:56 : Connection succeeded 20050527-19:34:57 : Initiated logon request 20050527-19:34:57 : Received logon response 20050527-19:34:59 : Initiated logout request 20050527-19:34:59 : Received logout response 20050527-19:34:59 : Disconnecting 20050527-19:34:59 : Created session 20050527-19:34:59 : Connecting to localhost on port 1111 20050527-19:34:59 : Connection succeeded 20050527-19:35:00 : Created session 20050527-19:35:00 : Connecting to localhost on port 1111 20050527-19:35:00 : Connection succeeded 20050527-19:35:01 : Created session 20050527-19:35:01 : Connecting to localhost on port 1111 20050527-19:35:01 : Connection succeeded 20050527-19:35:02 : Created session 20050527-19:35:02 : Connecting to localhost on port 1111 20050527-19:35:02 : Connection succeeded 20050527-19:35:02 : Created session 20050527-19:35:03 : Connecting to localhost on port 1111 20050527-19:35:03 : Connection succeeded 20050527-19:35:04 : Created session 20050527-19:35:04 : Connecting to localhost on port 1111 20050527-19:35:04 : Connection succeeded 20050527-19:35:04 : Created session 20050527-19:35:04 : Connecting to localhost on port 1111 20050527-19:35:04 : Connection succeeded 20050527-19:35:05 : Created session 20050527-19:35:05 : Connecting to localhost on port 1111 20050527-19:35:05 : Connection succeeded 20050527-19:35:06 : Initiated logon request 20050527-19:35:06 : Received logon response 20050527-19:35:07 : Initiated logout request 20050527-19:35:07 : Received logout response 20050527-19:35:07 : Disconnecting 20050527-19:35:07 : Created session 20050527-19:35:07 : Connecting to localhost on port 1111 20050527-19:35:07 : Connection succeeded 20050527-19:35:07 : Created session 20050527-19:35:07 : Connecting to localhost on port 1111 20050527-19:35:07 : Connection succeeded 20050527-19:35:08 : Created session 20050527-19:35:08 : Connecting to localhost on port 1111 20050527-19:35:08 : Connection succeeded 20050527-19:35:08 : Created session 20050527-19:35:08 : Connecting to localhost on port 1111 20050527-19:35:08 : Connection succeeded 20050527-19:35:08 : Created session 20050527-19:35:09 : Connecting to localhost on port 1111 20050527-19:35:09 : Connection succeeded 20050527-19:35:10 : Initiated logon request 20050527-19:35:10 : Received logon response 20050527-19:35:19 : Initiated logout request 20050527-19:35:19 : Received logout response 20050527-19:35:19 : Disconnecting 20050527-19:35:19 : Created session 20050527-19:35:19 : Connecting to localhost on port 1111 20050527-19:35:19 : Connection succeeded 20050527-19:35:20 : Created session 20050527-19:35:20 : Connecting to localhost on port 1111 20050527-19:35:20 : Connection succeeded 20050527-19:35:20 : Created session 20050527-19:35:20 : Connecting to localhost on port 1111 20050527-19:35:20 : Connection succeeded 20050527-19:35:20 : Created session 20050527-19:35:20 : Connecting to localhost on port 1111 20050527-19:35:20 : Connection succeeded 20050527-19:35:21 : Created session 20050527-19:35:21 : Connecting to localhost on port 1111 20050527-19:35:21 : Connection succeeded 20050527-19:35:21 : Created session 20050527-19:35:21 : Connecting to localhost on port 1111 20050527-19:35:21 : Connection succeeded 20050527-19:35:21 : Created session 20050527-19:35:22 : Connecting to localhost on port 1111 20050527-19:35:22 : Connection succeeded 20050527-19:35:22 : Created session 20050527-19:35:22 : Connecting to localhost on port 1111 20050527-19:35:22 : Connection succeeded 20050527-19:35:22 : Created session 20050527-19:35:22 : Connecting to localhost on port 1111 20050527-19:35:22 : Connection succeeded 20050527-19:35:23 : Created session 20050527-19:35:23 : Connecting to localhost on port 1111 20050527-19:35:23 : Connection succeeded 20050527-19:35:24 : Created session 20050527-19:35:24 : Connecting to localhost on port 1111 20050527-19:35:24 : Connection succeeded 20050527-19:35:25 : Initiated logon request 20050527-19:35:25 : Received logon response 20050527-19:35:34 : Initiated logout request 20050527-19:35:34 : Received logout response 20050527-19:35:34 : Disconnecting 20050527-19:35:34 : Created session 20050527-19:35:34 : Connecting to localhost on port 1111 20050527-19:35:34 : Connection succeeded 20050527-19:35:35 : Initiated logon request 20050527-19:35:35 : Received logon response 20050527-19:36:37 : Initiated logout request 20050527-19:36:37 : Received logout response 20050527-19:36:37 : Disconnecting 20050527-19:36:38 : Created session 20050527-19:36:38 : Connecting to localhost on port 1111 20050527-19:36:38 : Connection succeeded 20050527-19:36:39 : Initiated logon request 20050527-19:36:39 : Received logon response 20050527-19:36:45 : Initiated logout request 20050527-19:36:45 : Received logout response 20050527-19:36:45 : Disconnecting 20050527-19:36:45 : Created session 20050527-19:36:45 : Connecting to localhost on port 1111 20050527-19:36:45 : Connection succeeded 20050527-19:36:46 : Initiated logon request 20050527-19:36:46 : Received logon response 20050527-19:36:54 : Initiated logout request 20050527-19:36:54 : Received logout response 20050527-19:36:54 : Disconnecting 20050527-19:36:55 : Created session 20050527-19:36:55 : Connecting to localhost on port 1111 20050527-19:36:55 : Connection succeeded 20050527-19:36:56 : Initiated logon request 20050527-19:36:56 : Received logon response 20050527-19:36:58 : Initiated logout request 20050527-19:36:58 : Received logout response 20050527-19:36:58 : Disconnecting 20050527-19:36:58 : Created session 20050527-19:36:58 : Connecting to localhost on port 1111 20050527-19:36:58 : Connection succeeded 20050527-19:36:59 : Initiated logon request 20050527-19:36:59 : Received logon response 20050527-19:37:02 : Initiated logout request 20050527-19:37:02 : Received logout response 20050527-19:37:02 : Disconnecting 20050527-19:37:03 : Created session 20050527-19:37:03 : Connecting to localhost on port 1111 20050527-19:37:03 : Connection succeeded 20050527-19:37:04 : Initiated logon request 20050527-19:37:04 : Received logon response 20050527-19:37:10 : Initiated logout request 20050527-19:37:10 : Received logout response 20050527-19:37:10 : Disconnecting 20050527-19:37:10 : Created session 20050527-19:37:10 : Connecting to localhost on port 1111 20050527-19:37:10 : Connection succeeded 20050527-19:37:11 : Initiated logon request 20050527-19:37:11 : Received logon response 20050527-19:37:15 : Initiated logout request 20050527-19:37:15 : Received logout response 20050527-19:37:15 : Disconnecting 20050527-19:37:15 : Created session 20050527-19:37:15 : Connecting to localhost on port 1111 20050527-19:37:15 : Connection succeeded 20050527-19:37:16 : Initiated logon request 20050527-19:37:16 : Received logon response 20050527-19:37:27 : Initiated logout request 20050527-19:37:27 : Received logout response 20050527-19:37:27 : Disconnecting 20050527-19:37:28 : Created session 20050527-19:37:28 : Connecting to localhost on port 1111 20050527-19:37:28 : Connection succeeded 20050527-19:37:29 : Initiated logon request 20050527-19:37:29 : Received logon response 20050527-19:37:43 : Initiated logout request 20050527-19:37:43 : Received logout response 20050527-19:37:43 : Disconnecting 20050527-19:37:43 : Created session 20050527-19:37:43 : Connecting to localhost on port 1111 20050527-19:37:43 : Connection succeeded 20050527-19:37:44 : Initiated logon request 20050527-19:37:44 : Received logon response 20050527-19:40:46 : Created session 20050527-19:40:46 : Connecting to localhost on port 1111 20050527-19:40:48 : Connection failed 20050527-19:40:49 : Connecting to localhost on port 1111 20050527-19:40:49 : Connection succeeded 20050527-19:40:49 : Initiated logon request 20050527-19:40:49 : Received logon response 20050527-19:41:36 : Created session 20050527-19:41:36 : Connecting to localhost on port 1111 20050527-19:41:36 : Connection succeeded 20050527-19:41:37 : Initiated logon request 20050527-19:41:37 : Received logout request 20050527-19:41:37 : Sending logout response 20050527-19:41:37 : Disconnecting 20050527-19:41:37 : Initiated logon request 20050527-19:41:47 : Connecting to localhost on port 1111 20050527-19:41:47 : Connection succeeded 20050527-19:41:47 : Initiated logon request 20050527-19:41:47 : Received logon response 20050527-19:41:47 : MsgSeqNum too high, expecting 573 but received 576 20050527-19:41:47 : Sent ResendRequest FROM: 573 TO: 575 20050527-19:41:47 : Received ResendRequest FROM: 679 TO: 679 20050527-19:41:47 : Sent SequenceReset TO: 680 20050527-19:41:47 : Received SequenceReset FROM: 573 TO: 576 20050527-19:41:47 : Processing QUEUED message: 576 20050527-19:41:56 : Created session 20050527-19:41:56 : Connecting to localhost on port 1111 20050527-19:41:56 : Connection succeeded 20050527-19:41:57 : Initiated logon request 20050527-19:41:57 : Received logon response 20050527-19:41:57 : MsgSeqNum too high, expecting 577 but received 578 20050527-19:41:57 : Sent ResendRequest FROM: 577 TO: 577 20050527-19:41:57 : Received ResendRequest FROM: 681 TO: 681 20050527-19:41:57 : Sent SequenceReset TO: 682 20050527-19:41:57 : Received SequenceReset FROM: 577 TO: 578 20050527-19:41:57 : Processing QUEUED message: 578 20050527-19:41:59 : Received ResendRequest FROM: 683 TO: 683 20050527-19:41:59 : Sent SequenceReset TO: 684 20050527-19:41:59 : MsgSeqNum too high, expecting 579 but received 581 20050527-19:41:59 : Sent ResendRequest FROM: 579 TO: 580 20050527-19:41:59 : Received SequenceReset FROM: 579 TO: 581 20050527-19:41:59 : Processing QUEUED message: 581 20050527-19:42:05 : Created session 20050527-19:42:05 : Connecting to localhost on port 1111 20050527-19:42:05 : Connection succeeded 20050527-19:42:06 : Initiated logon request 20050527-19:42:06 : Received logon response 20050527-19:42:06 : MsgSeqNum too high, expecting 581 but received 582 20050527-19:42:06 : Sent ResendRequest FROM: 581 TO: 581 20050527-19:42:18 : Created session 20050527-19:42:18 : Connecting to localhost on port 1111 20050527-19:42:18 : Connection succeeded 20050527-19:42:19 : Initiated logon request 20050527-19:42:19 : Received logon response 20050527-19:42:19 : MsgSeqNum too high, expecting 581 but received 583 20050527-19:42:19 : Sent ResendRequest FROM: 581 TO: 582 20050527-19:44:50 : Created session 20050527-19:44:50 : Connecting to localhost on port 1111 20050527-19:44:50 : Connection succeeded 20050527-19:44:51 : Initiated logon request 20050527-19:44:51 : Received logon response 20050527-19:44:51 : MsgSeqNum too high, expecting 581 but received 584 20050527-19:44:51 : Sent ResendRequest FROM: 581 TO: 583 20050527-19:45:02 : Created session 20050527-19:45:02 : Connecting to localhost on port 1111 20050527-19:45:02 : Connection succeeded 20050527-19:45:03 : Initiated logon request 20050527-19:45:03 : Received logon response 20050527-19:45:03 : MsgSeqNum too high, expecting 581 but received 585 20050527-19:45:03 : Sent ResendRequest FROM: 581 TO: 584 20050527-19:45:10 : Created session 20050527-19:45:10 : Connecting to localhost on port 1111 20050527-19:45:10 : Connection succeeded 20050527-19:45:11 : Initiated logon request 20050527-19:45:11 : Received logon response 20050527-19:45:11 : MsgSeqNum too high, expecting 581 but received 586 20050527-19:45:11 : Sent ResendRequest FROM: 581 TO: 585 20050527-19:46:27 : Created session 20050527-19:46:27 : Connecting to localhost on port 1111 20050527-19:46:27 : Connection succeeded 20050527-19:46:28 : Initiated logon request 20050527-19:46:28 : Received logon response 20050527-19:46:28 : MsgSeqNum too high, expecting 581 but received 587 20050527-19:46:28 : Sent ResendRequest FROM: 581 TO: 586 20050527-19:46:28 : Received SequenceReset FROM: 582 TO: 587 20050527-19:46:28 : Processing QUEUED message: 587 20050527-19:46:57 : Created session 20050527-19:46:57 : Connecting to localhost on port 1111 20050527-19:46:57 : Connection succeeded 20050527-19:46:58 : Initiated logon request 20050527-19:46:58 : Received logon response 20050527-19:50:51 : Created session 20050527-19:50:51 : Connecting to localhost on port 1111 20050527-19:50:51 : Connection succeeded 20050527-19:50:52 : Initiated logon request 20050527-19:50:52 : Received logon response 20050527-19:52:01 : Received logout request 20050527-19:52:01 : Sending logout response 20050527-19:52:01 : Disconnecting 20050527-19:52:01 : Initiated logon request 20050527-19:52:02 : Connecting to localhost on port 1111 20050527-19:52:03 : Connection failed 20050527-19:52:12 : Connecting to localhost on port 1111 20050527-19:52:12 : Connection succeeded 20050527-19:52:12 : Initiated logon request 20050527-19:52:12 : Received logon response 20050527-19:52:48 : Sent test request TEST 20050527-19:53:24 : Timed out waiting for heartbeat 20050527-19:53:24 : Dropped Connection 20050527-19:53:32 : Connecting to localhost on port 1111 20050527-19:53:32 : Connection succeeded 20050527-19:53:32 : Initiated logon request 20050527-19:53:52 : Timed out waiting for logon response 20050527-19:53:52 : Dropped Connection 20050527-19:54:02 : Connecting to localhost on port 1111 20050527-19:54:02 : Connection succeeded 20050527-19:54:02 : Initiated logon request 20050527-19:54:22 : Timed out waiting for logon response 20050527-19:54:22 : Dropped Connection 20050527-19:54:32 : Connecting to localhost on port 1111 20050527-19:54:32 : Connection succeeded 20050527-19:54:32 : Initiated logon request 20050527-19:54:52 : Timed out waiting for logon response 20050527-19:54:52 : Dropped Connection 20050527-19:55:02 : Connecting to localhost on port 1111 20050527-19:55:02 : Connection succeeded 20050527-19:55:02 : Initiated logon request 20050527-19:55:22 : Timed out waiting for logon response 20050527-19:55:22 : Dropped Connection 20050527-19:55:32 : Connecting to localhost on port 1111 20050527-19:55:32 : Connection succeeded 20050527-19:55:32 : Initiated logon request 20050527-19:55:52 : Timed out waiting for logon response 20050527-19:55:52 : Dropped Connection 20050527-19:56:02 : Connecting to localhost on port 1111 20050527-19:56:03 : Connection failed 20050527-19:56:12 : Connecting to localhost on port 1111 20050527-19:56:13 : Connection failed 20050527-19:56:22 : Connecting to localhost on port 1111 20050527-19:56:23 : Connection failed 20050527-19:56:32 : Connecting to localhost on port 1111 20050527-19:56:33 : Connection failed 20050527-19:56:42 : Connecting to localhost on port 1111 20050527-19:56:43 : Connection failed 20050527-19:56:52 : Connecting to localhost on port 1111 20050527-19:56:53 : Connection failed 20050527-19:57:02 : Connecting to localhost on port 1111 20050527-19:57:03 : Connection failed 20050527-19:57:12 : Connecting to localhost on port 1111 20050527-19:57:13 : Connection failed 20050527-19:57:22 : Connecting to localhost on port 1111 20050527-19:57:23 : Connection failed 20050527-19:57:32 : Connecting to localhost on port 1111 20050527-19:57:33 : Connection failed 20050527-19:57:42 : Connecting to localhost on port 1111 20050527-19:57:44 : Connection failed 20050527-19:57:52 : Connecting to localhost on port 1111 20050527-19:57:53 : Connection failed 20050527-19:58:02 : Connecting to localhost on port 1111 20050527-19:58:03 : Connection failed 20050527-19:58:12 : Connecting to localhost on port 1111 20050527-19:58:13 : Connection failed 20050527-19:58:22 : Connecting to localhost on port 1111 20050527-19:58:23 : Connection failed 20050527-19:58:32 : Connecting to localhost on port 1111 20050527-19:58:33 : Connection failed 20050527-19:58:42 : Connecting to localhost on port 1111 20050527-19:58:43 : Connection failed 20050527-19:58:52 : Connecting to localhost on port 1111 20050527-19:58:53 : Connection failed 20050527-19:59:02 : Connecting to localhost on port 1111 20050527-19:59:03 : Connection failed 20050527-19:59:12 : Connecting to localhost on port 1111 20050527-19:59:13 : Connection failed 20050527-19:59:22 : Connecting to localhost on port 1111 20050527-19:59:23 : Connection failed 20050527-19:59:32 : Connecting to localhost on port 1111 20050527-19:59:33 : Connection failed 20050527-19:59:42 : Connecting to localhost on port 1111 20050527-19:59:43 : Connection failed 20050527-19:59:52 : Connecting to localhost on port 1111 20050527-19:59:53 : Connection failed 20050527-20:00:02 : Connecting to localhost on port 1111 20050527-20:00:03 : Connection failed 20050527-20:00:12 : Connecting to localhost on port 1111 20050527-20:00:14 : Connection failed 20050527-20:00:22 : Connecting to localhost on port 1111 20050527-20:00:23 : Connection failed 20050527-20:00:32 : Connecting to localhost on port 1111 20050527-20:00:33 : Connection failed 20050527-20:00:42 : Connecting to ... [truncated message content] |
|
From: Caleb E. <cal...@gm...> - 2005-05-31 15:49:55
|
On 5/31/05, Alexey Zubko <ale...@in...> wrote:
> Enclosed are the logs.
I actually get crashes trying to send the last message in that
.outgoing file (the one with the 0xA4 bytes in RawData). It looks
like the CheckSum calculation gets messed up by high-bit ASCII
characters and goes negative, which is out-of-spec. This patch fixes
the problem.
diff -u -b -u -p -r1.18 Field.h=20
--- Field.h 28 Dec 2004 15:23:26 -0000 1.18=20
+++ Field.h 31 May 2005 15:44:37 -0000=20
@@ -121,7 +121,10 @@ private:=20
m_length =3D m_data.length();=20
}=20
=20
- const char* iter =3D m_data.c_str();=20
+ // Treat strings as unsigned in case values contain high-bit=20
+ // chars. Don't want checksum to go negative.=20
+ const unsigned char* iter =3D=20
+ reintepret_cast<const unsigned char*> (m_data.c_str());=20
m_total =3D std::accumulate( iter, iter + m_length, 0 );=20
=20
m_calculated =3D true;=20
--=20
Caleb Epstein
caleb dot epstein at gmail dot com
|
|
From: Alexey Z. <ale...@in...> - 2005-05-31 16:15:54
|
Caleb, Thank you. The patch solved the problem. P.S. Misspelling: reinterpret_cast Regards, Alexey Zubko Caleb Epstein wrote: >On 5/31/05, Alexey Zubko <ale...@in...> wrote: > > > >> Enclosed are the logs. >> >> > >I actually get crashes trying to send the last message in that >.outgoing file (the one with the 0xA4 bytes in RawData). It looks >like the CheckSum calculation gets messed up by high-bit ASCII >characters and goes negative, which is out-of-spec. This patch fixes >the problem. > >diff -u -b -u -p -r1.18 Field.h >--- Field.h 28 Dec 2004 15:23:26 -0000 1.18 >+++ Field.h 31 May 2005 15:44:37 -0000 >@@ -121,7 +121,10 @@ private: > m_length = m_data.length(); > } > >- const char* iter = m_data.c_str(); >+ // Treat strings as unsigned in case values contain high-bit >+ // chars. Don't want checksum to go negative. >+ const unsigned char* iter = >+ reintepret_cast<const unsigned char*> (m_data.c_str()); > m_total = std::accumulate( iter, iter + m_length, 0 ); > > m_calculated = true; > > > |
|
From: Caleb E. <cal...@gm...> - 2005-05-31 16:22:52
|
> Misspelling: reinterpret_cast Oops. I guess I should have compiled it first :) --=20 Caleb Epstein caleb dot epstein at gmail dot com |
|
From: Oren M. <or...@qu...> - 2005-06-01 05:19:59
|
Caleb's patch has been checked into CVS along with a unit test based on =
your code.
--oren
----- Original Message -----=20
From: Alexey Zubko=20
To: Caleb Epstein=20
Cc: qui...@li...=20
Sent: Tuesday, May 31, 2005 11:15 AM
Subject: Re: [Quickfix-developers] Rawdata field
Caleb,
Thank you. The patch solved the problem.
P.S.
Misspelling: reinterpret_cast
Regards,
Alexey Zubko
Caleb Epstein wrote:=20
On 5/31/05, Alexey Zubko <ale...@in...> wrote:
Enclosed are the logs.
=20
I actually get crashes trying to send the last message in that
outgoing file (the one with the 0xA4 bytes in RawData). It looks.
like the CheckSum calculation gets messed up by high-bit ASCII
characters and goes negative, which is out-of-spec. This patch fixes
the problem.
diff -u -b -u -p -r1.18 Field.h=20
--- Field.h 28 Dec 2004 15:23:26 -0000 1.18=20
+++ Field.h 31 May 2005 15:44:37 -0000=20
@@ -121,7 +121,10 @@ private:=20
m_length =3D m_data.length();=20
}=20
=20
- const char* iter =3D m_data.c_str();=20
+ // Treat strings as unsigned in case values contain high-bit=20
+ // chars. Don't want checksum to go negative.=20
+ const unsigned char* iter =3D=20
+ reintepret_cast<const unsigned char*> (m_data.c_str());=20
m_total =3D std::accumulate( iter, iter + m_length, 0 );=20
=20
m_calculated =3D true;=20
|