MCPcopy Create free account
hub / github.com/apache/httpd / ptoken_char

Function ptoken_char

modules/http2/h2_proxy_util.c:774–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774static int ptoken_char(char c)
775{
776 switch (c) {
777 case '!':
778 case '#':
779 case '$':
780 case '&':
781 case '\'':
782 case '(':
783 case ')':
784 case '*':
785 case '+':
786 case '-':
787 case '.':
788 case '/':
789 case ':':
790 case '<':
791 case '=':
792 case '>':
793 case '?':
794 case '@':
795 case '[':
796 case ']':
797 case '^':
798 case '_':
799 case '`':
800 case '{':
801 case '|':
802 case '}':
803 case '~':
804 return 1;
805 default:
806 return apr_isalnum(c);
807 }
808}
809
810static int skip_ws(link_ctx *ctx)
811{

Callers 1

skip_ptokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected