Skip to content

Commit aee3e2b

Browse files
jasnelladdaleax
authored andcommitted
src: various minor improvements to node_url
Went hunting for possible performance improvements. Didn't find anything significant but did manage to make a number of style improvements that bring more in line with style guidelines and good pratice. PR-URL: #31651 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 2db1c8d commit aee3e2b

File tree

3 files changed

+138
-118
lines changed

3 files changed

+138
-118
lines changed

src/env.h

+7
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,13 @@ constexpr size_t kFsStatsBufferLength =
371371
V(type_string, "type") \
372372
V(uid_string, "uid") \
373373
V(unknown_string, "<unknown>") \
374+
V(url_special_ftp_string, "ftp:") \
375+
V(url_special_file_string, "file:") \
376+
V(url_special_gopher_string, "gopher:") \
377+
V(url_special_http_string, "http:") \
378+
V(url_special_https_string, "https:") \
379+
V(url_special_ws_string, "ws:") \
380+
V(url_special_wss_string, "wss:") \
374381
V(url_string, "url") \
375382
V(username_string, "username") \
376383
V(valid_from_string, "valid_from") \

0 commit comments

Comments
 (0)