Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 61711 invoked from network); 15 Dec 2005 09:23:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Dec 2005 09:23:28 -0000 Received: (qmail 63608 invoked by uid 500); 15 Dec 2005 09:23:28 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 63567 invoked by uid 500); 15 Dec 2005 09:23:27 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 63553 invoked by uid 99); 15 Dec 2005 09:23:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 01:23:27 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=RCVD_IN_WHOIS_INVALID X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [213.50.8.67] (HELO mail.portwise.com) (213.50.8.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 01:23:19 -0800 Received: from stosrv-exchange.portwise.com ([192.168.12.55]) by mail with InterScan VirusWall; Thu, 15 Dec 2005 10:23:09 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Extra linefeeds in STOMP Date: Thu, 15 Dec 2005 10:23:00 +0100 Message-ID: <221951ED658AA34D935E2B5FB693492034DD03@stosrv-exchange.portwise.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Extra linefeeds in STOMP Thread-Index: AcYBWSSk1yEnVHZ3TRWPqhq9KxVKyg== From: =?iso-8859-1?Q?Mats_Forsl=F6f?= To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Since the mailing list have been moved to Apache I re-post my previous = mail. I have been playing around with AMQ 3.2 and STOMP but it seems that the = server sends an extra linefeed before (or after) the frame contents. = This makes the stomp.c function stomp_read() to fail since it tries to = extract headers from the command field (due to the line feed parsing). = It is easily corrected by adding the following lines in function = stomp_read_buffer() at line 153. But, shoule the server send the extra = linefeed? // PATCH: Skip extraneous line feed if( i =3D=3D 0 && tail->data[i] =3D=3D '\n' ) continue ; Also, the server occasionally seems to send a message multiple times. Has anyone seen the above or should I file some bugs? Regards, Mats