aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--packet-rtsp.c10
2 files changed, 10 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 18040fa49e..e2e95e75bf 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -413,6 +413,7 @@ Wes Hardaker <wjhardaker@ucdavis.edu> {
Robert Tsai <rtsai@netapp.com> {
Rsh support
Support for embedded newlines in SDP fields
+ Support for leading LWS in RTSP headers
}
Craig Metz <cmetz@inner.net> {
diff --git a/packet-rtsp.c b/packet-rtsp.c
index 6a2016b6bf..cb0e7612d9 100644
--- a/packet-rtsp.c
+++ b/packet-rtsp.c
@@ -4,7 +4,7 @@
* Jason Lango <jal@netapp.com>
* Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-rtsp.c,v 1.36 2001/01/25 06:14:14 guy Exp $
+ * $Id: packet-rtsp.c,v 1.37 2001/05/31 20:40:29 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -439,6 +439,14 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
is_mime_header = TRUE;
goto is_rtsp;
+
+ case ' ':
+ case '\t':
+ /*
+ * LWS (RFC-2616, 4.2); continue the previous
+ * header.
+ */
+ goto is_rtsp;
}
}