Changeset 598 in ntrip
- Timestamp:
- Dec 14, 2007, 8:23:44 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ntripclient/ntripclient.c
r596 r598 1 1 /* 2 2 Easy example NTRIP client for POSIX. 3 $Id: ntripclient.c,v 1.3 7 2007/12/12 09:45:23stoecker Exp $3 $Id: ntripclient.c,v 1.38 2007/12/12 09:47:31 stoecker Exp $ 4 4 Copyright (C) 2003-2005 by Dirk Stoecker <soft@dstoecker.de> 5 5 … … 57 57 58 58 /* CVS revision and version */ 59 static char revisionstr[] = "$Revision: 1.3 7$";60 static char datestr[] = "$Date: 2007/12/12 09:4 5:23$";59 static char revisionstr[] = "$Revision: 1.38 $"; 60 static char datestr[] = "$Date: 2007/12/12 09:47:31 $"; 61 61 62 62 enum MODE { HTTP = 1, RTSP = 2, NTRIP1 = 3, AUTO = 4, END }; … … 830 830 "Host: %s\r\n%s" 831 831 "User-Agent: %s/%s\r\n" 832 "Connection: close\r\n" 832 833 "\r\n" 833 834 , proxyserver ? "http://" : "", proxyserver ? proxyserver : "", … … 842 843 "Host: %s\r\n%s" 843 844 "User-Agent: %s/%s\r\n" 845 "Connection: close\r\n" 844 846 "Authorization: Basic " 845 847 , proxyserver ? "http://" : "", proxyserver ? proxyserver : "", -
trunk/ntripserver/ntripserver.c
r493 r598 1 1 /* 2 * $Id: ntripserver.c,v 1.3 4 2007/08/30 14:52:43 stuerzeExp $2 * $Id: ntripserver.c,v 1.35 2007/08/30 16:40:51 stoecker Exp $ 3 3 * 4 4 * Copyright (c) 2003...2007 … … 37 37 38 38 /* CVS revision and version */ 39 static char revisionstr[] = "$Revision: 1.3 4$";40 static char datestr[] = "$Date: 2007/08/30 1 4:52:43$";39 static char revisionstr[] = "$Revision: 1.35 $"; 40 static char datestr[] = "$Date: 2007/08/30 16:40:51 $"; 41 41 42 42 #include <ctype.h> … … 600 600 "GET %s/%s HTTP/1.0\r\n" 601 601 "User-Agent: %s/%s\r\n" 602 "Connection: close\r\n" 602 603 "Authorization: Basic ", get_extension, stream_name, 603 604 AGENTSTRING, revisionstr); … … 630 631 "GET %s/%s HTTP/1.0\r\n" 631 632 "User-Agent: %s/%s\r\n" 633 "Connection: close\r\n" 632 634 "\r\n", get_extension, stream_name, AGENTSTRING, revisionstr); 633 635 } … … 892 894 "Authorization: Basic %s\r\n" 893 895 "Ntrip-STR: %s\r\n" 896 "Connection: close\r\n" 894 897 "Transfer-Encoding: chunked\r\n\r\n", 895 898 post_extension, mountpoint, casterouthost, AGENTSTRING,
Note:
See TracChangeset
for help on using the changeset viewer.