Skip to content

Make sure implementors know which parse functions to use #48

@DanielOaks

Description

@DanielOaks

Generally, servers should perform all the nice accurate proper length checking and apply appropriate restrictions. Generally, clients (unless they need to for tech reasons like memory usage or using a language that requires strict limits) should accept whatever they can from the server and not try to be too pedantic about lengths (if there's some extra body or whatever to it then it's better to read it and not throw out valid data).

  • ParseLine's comment should say "IRC clients should generally parse incoming lines using this function".
  • ParseLineStrict's comment should say "IRC servers should generally parse incoming lines using this function".

These lines should be near the top so an implementor scrolling through sees at a glance which one they should look at.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions