Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add and allow leading slash of ntrip source request #68

Merged
merged 2 commits into from
May 15, 2024

Conversation

GHolk
Copy link

@GHolk GHolk commented Oct 1, 2020

to fix issue #66, this pull request will add leading slash to source connection and allow connection contain slash. the old ntrip client can still connect to new server without add leading slash, but old ntrip caster can not deal with connection with leading slash.

allow header `Source-Agent:` or `User-Agent:` .
current ntrip caster does remove the leading slash
of mount point in ntrip source client, and rtklib's
ntrip source request does not contain leading slash
in mount point name too.

however, in ntrip spec, the example source request contain
leading slash. although i am not sure whether request without
slash is legal, i remove the leading slash of source request
to compatible with other ntrip client software.
moreover, i also add leading slash to source request.
@GHolk GHolk changed the title Source leading slash add and allow leading slash of ntrip source request Oct 1, 2020
@GHolk
Copy link
Author

GHolk commented Oct 1, 2020

this pr also allow source request not to use Source-Agent header but User-Agent header, because some source client which i am working on, does not send source-agent but user-agent in source request.

if you do not like it, just cherry-pick the commit ff3c3af only.

@DavidKelleySCSC
Copy link

FYI, RTKLIB connects to NTRIP Casters (as an NTRIP Server) using NTRIP Version 1 (Rev1) and the keyword "SOURCE" (which was changed to POST and User-Agent when used in Rev2). And in Rev 1, only the term Source Agent should be used with that keyword. Only a Rev1 NTRIP Client device, requesting from an NTRIP Caster (any rev), would use User-Agent (along with GET) in the headers. It should not use other keywords for the agent, but (as per HTTP) other header lines can be present.

The forward slash before the mountPt name can be present or absent, there are many client deployments doing both ways, and this remains a point of debate within the NTRIP group of RTCM SC104.

Base automatically changed from demo5 to demo5_b33 March 6, 2021 01:43
@rtklibexplorer rtklibexplorer merged commit 66f8d63 into rtklibexplorer:demo5_b33 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants