open
https://gitlab.synchro.net/main/sbbs/-/issues/1094
Per IRC conversation
```
#43 0x00007fc483f21cfd in http_session_thread (arg=0x0) at websrvr.cpp:7077 7077 respond(&session);
(gdb) p session
$1 = {socket = 26, addr = {addr = {sa_family = 2, sa_data = "\341LA1\001\204\000\000\000\000\000\000\000"}, in = {sin_family = 2, sin_port = 19681, sin_addr = {
s_addr = 2214670657}, sin_zero = "\000\000\000\000\000\000\000"}, in6 = {sin6_family = 2, sin6_port = 19681, sin6_flowinfo = 2214670657, sin6_addr = {__in6_u = {
__u6_addr8 = "\000\000\000\000\000\000\000\000UN\026[\005", __u6_addr16 = {0, 0, 0, 0, 20053, 23318, 35822, 1422}, __u6_addr32 = {0, 0, 1528188501,
93228014}}}, sin6_scope_id = 0}, un = {sun_family = 2, sun_path = "\341LA1\001\204\000\000\000\000\000\000\000\000UN\026[\005", '\000' <repeats 85 times>},
store = {ss_family = 2, __ss_padding = "\341LA1\001\204\000\000\000\000\000\000\000\000UN\026[\005", '\000' <repeats 95 times>, __ss_align = 0}}, addr_len = 16,
req = {method = 2, virtual_path = "/index.xjs\000HTTP/1.1", '\000' <repeats 4077 times>, physical_path = "/sbbs/webv4/root/index.xjs", '\000' <repeats 4070 times>,
expect_go_ahead = false, if_modified_since = 0, keep_alive = true, ars = '\000' <repeats 255 times>, auth = {type = AUTHENTICATION_UNKNOWN,
username = '\000' <repeats 25 times>, password = '\000' <repeats 40 times>, digest_uri = 0x0, realm = 0x0, nonce = 0x0, algorithm = ALGORITHM_UNKNOWN,
qop_value = QOP_NONE, cnonce = 0x0, nonce_count = 0x0, digest = '\000' <repeats 15 times>, stale = false}, host = "192.138.210.158", '\000' <repeats 112 times>,
vhost = "192.138.210.158", '\000' <repeats 112 times>, send_location = 0, send_content = false, upgrading = false, location_to_send = 0x0, vary_list = 0x0,
mime_type = 0x0, headers = 0x7fc400002f30, status = "200 OK", '\000' <repeats 1018 times>,
post_data = 0x7fc4001ab910 "------WebKitFormBoundaryx8jO2oVc6SWP3Sad\r\nContent-Disposition: form-data; name", post_map = 0x0, post_len = 232, dynamic = 2,
xjs_handler = "/sbbs/exec/xjs_handler.js", '\000' <repeats 4071 times>, ld = 0x7fc400003ab0, request_line = "/index.xjs", '\000' <repeats 1014 times>,
orig_request_line = "/", '\000' <repeats 1023 times>, finished = false, read_chunked = true, write_chunked = false, range_start = 0, range_end = 0, got_range = false,
accept_ranges = false, if_range = 0, path_info_index = false, query_str = '\000' <repeats 1024 times>, extra_path_info = '\000' <repeats 1024 times>,
cgi_env = 0x7fc400121a60, dynamic_heads = 0x7fc4000435c0, got_extra_path = false, fp = 0x0, cleanup_file = {0x7fc400120e80 "/sbbs/tmp/SBBS_SSJS.3143328.26.html", 0x0},
sent_headers = false, prev_write = false, manual_length = false, error_dir = 0x0, cgi_dir = 0x0, auth_list = 0x0, realm = 0x0, digest_realm = 0x0,
fastcgi_socket = 0x0}, requests = 1, host_ip = "65.49.1.132", '\000' <repeats 34 times>, host_name = "65.49.1.132", '\000' <repeats 116 times>, http_ver = 2,
send_failed = false, finished = false, parsed_vpath = PARSED_VPATH_NONE, libnum = 0, file = {{idx = {{{to = 0, from = 0, subj = 0}, {votes = 0, remsg = 0}, {size = 0,
size_ext = 0}}, attr = 0, offset = 0, number = 0, time = 0}, file_idx = {idx = {{{to = 0, from = 0, subj = 0}, {votes = 0, remsg = 0}, {size = 0,
size_ext = 0}}, attr = 0, offset = 0, number = 0, time = 0}, name = '\000' <repeats 64 times>, hash = {flags = 0 '\000', data = {crc16 = 0, crc32 = 0,
md5 = '\000' <repeats 15 times>, sha1 = '\000' <repeats 19 times>}}}}, hdr = {msghdr_id = "\000\000\000", type = 0, version = 0, length = 0, attr = 0,
auxattr = 0, netattr = 0, when_written = {year = 0, time = 0, zone = 0}, when_imported = {time = 0, zone = 0}, number = 0, thread_back = 0, thread_next = 0,
thread_first = 0, delivery_attempts = 0, votes = 0, thread_id = 0, {{priority = 0 '\000'}, {times_downloaded = 0, last_downloaded = 0}}, offset = 0,
total_dfields = 0}, to = 0x0, to_ext = 0x0, to_list = 0x0, from = 0x0, from_ext = 0x0, from_org = 0x0, from_ip = 0x0, from_host = 0x0, from_prot = 0x0,
from_port = 0x0, author = 0x0, author_org = 0x0, replyto = 0x0, replyto_ext = 0x0, replyto_list = 0x0, cc_list = 0x0, id = 0x0, reply_id = 0x0, forward_path = 0x0,
reverse_path = 0x0, path = 0x0, newsgroups = 0x0, ftn_pid = 0x0, ftn_tid = 0x0, ftn_area = 0x0, ftn_flags = 0x0, ftn_charset = 0x0, ftn_bbsid = 0x0, ftn_msgid = 0x0,
ftn_reply = 0x0, {summary = 0x0, desc = 0x0}, {subj = 0x0, name = 0x0}, {text = 0x0, extdesc = 0x0}, {tail = 0x0, auxdata = 0x0}, tags = 0x0, editor = 0x0,
mime_version = 0x0, content_type = 0x0, content_encoding = 0x0, text_charset = 0x0, text_subtype = 0x0, to_agent = 0, from_agent = 0, replyto_agent = 0, to_net = {
type = 0, addr = 0x0}, from_net = {type = 0, addr = 0x0}, replyto_net = {type = 0, addr = 0x0}, total_hfields = 0, hfield = 0x0, hfield_dat = 0x0, dfield = 0x0,
idx_offset = 0, forwarded = false, expiration = 0, cost = 0, flags = 0, user_voted = 0, upvotes = 0, downvotes = 0, total_votes = 0, dir = 0, size = 0, time = 0,
columns = 0 '\000'}, user = {number = 0, uls = 0, dls = 0, posts = 0, emails = 0, fbacks = 0, etoday = 0, ptoday = 0, timeon = 0, textra = 0, logons = 0, ttoday = 0,
tlast = 0, ltoday = 0, xedit = 0, shell = 0, dtoday = 0, btoday = 0, alias = "<unknown user>", '\000' <repeats 11 times>, name = '\000' <repeats 25 times>,
handle = "\000\000\000\000\000\000\000\000", lang = "\000\000\000\000\000\000\000\000", host = '\000' <repeats 60 times>, note = '\000' <repeats 30 times>,
address = '\000' <repeats 30 times>, location = '\000' <repeats 30 times>, zipcode = "\000\000\000\000\000\000\000\000\000\000", pass = '\000' <repeats 40 times>,
birth = "\000\000\000\000\000\000\000\000", phone = '\000' <repeats 12 times>, connection = "\000\000\000\000\000\000\000\000", netmail = '\000' <repeats 60 times>,
tmpext = '\000' <repeats 15 times>, comment = '\000' <repeats 60 times>, cursub = '\000' <repeats 32 times>, curdir = '\000' <repeats 32 times>,
curxtrn = '\000' <repeats 16 times>, ipaddr = '\000' <repeats 45 times>, level = 0 '\000', gender = 0 '\000', prot = 0 '\000', leech = 0 '\000', rows = 0, cols = 0,
misc = 0, qwk = 0, chat = 0, mail = 0, flags1 = 0, flags2 = 0, flags3 = 0, flags4 = 0, exempt = 0, rest = 0, min = 0, cdt = 0, freecdt = 0, ulb = 0, dlb = 0, dlcps = 0,
firston = 0, laston = 0, expire = 0, pwmod = 0, ns_time = 0, logontime = 0, deldate = 0, reset = 0}, last_user_num = 0, logon_time = 1772947360,
username = "<unknown user>", '\000' <repeats 11 times>, last_js_user_num = 0, redir_req = "\000OST /index.xjs HTTP/1.1", '\000' <repeats 1000 times>,
js_runtime = 0x7fc40003fc30, js_cx = 0x7fc400030ec0, js_glob = 0x7fc3ebe03048, js_query = 0x7fc3ebe2f3a8, js_header = 0x7fc3ebe2f3f0, js_cookie = 0x7fc3ebe2f438,
js_request = 0x7fc3ebe2f360, js_callback = {events = 0x0, rq_head = 0x0, rq_tail = 0x0, listeners = 0x0, terminated = 0x7fc483f43c75 <terminate_js>, parent_cb = 0x0,
counter = 0, limit = 864000, yield_interval = 10000, gc_interval = 100, gc_attempts = 0, offline_counter = 0, next_eid = 0, auto_terminate = 1, auto_terminated = false,
--Type <RET> for more, q to quit, c to continue without paging--c
keepGoing = 0, bg = false, events_supported = false}, subscan = 0x7fc400032900, outbuf = {pStart = 0x7fc400084630 " E", pHead = 0x7fc400084630 " E",
pTail = 0x7fc400084630 " E", pEnd = 0x7fc4000c4630 "\002", size = 262144, empty_event = 0x7fc4000012d0, data_event = 0x7fc400001090, highwater_event = 0x7fc400001440,
highwater_mark = 1460, mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0,
__next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, output_thread_terminated = 0x7fc4000060e0, outbuf_write_initialized = 1, outbuf_write = {
__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}},
__size = '\000' <repeats 39 times>, __align = 0}, client = {size = 472, addr = "65.49.1.132", '\000' <repeats 116 times>,
host = "<no name>", '\000' <repeats 246 times>, port = 57676, time = 1772947360, protocol = "HTTPS", '\000' <repeats 26 times>,
user = "<unknown user>", '\000' <repeats 17 times>, usernum = 0}, struct_filled = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = -1,
__spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\377\377\377\377", '\000' <repeats 19 times>, __align = 0},
is_tls = true, tls_sess = 9446, tls_pending = true, peeked_valid = false, peeked = 13 '\r'}
(gdb)
```
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)