httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject logio problem with SSL
Date Thu, 24 Sep 2015 15:00:46 GMT
I am seeing that small responses over SSL get logged before they're
flushed, couldn't this flushing be done when we see the EOR bucket in
the SSL output filter (which will cause log_transaction to run)?


Breakpoint 2, ap_logio_add_bytes_out (c=0x7fc688005428, bytes=249) at
mod_logio.c:66
66          logio_config_t *cf = ap_get_module_config(c->conn_config,
&logio_module);
(gdb) where
#0  ap_logio_add_bytes_out (c=0x7fc688005428, bytes=249) at mod_logio.c:66
#1  0x0000000000456875 in writev_nonblocking (s=0x7fc688005210,
vec=0x7fc68cbe1590, nvec=1, bb=0x7fc678003198,
cumulative_bytes_written=0x7fc674003758, c=0x7fc688005428)
    at core_filters.c:848
#2  0x0000000000456393 in send_brigade_nonblocking (s=0x7fc688005210,
bb=0x7fc678003198, bytes_written=0x7fc674003758, c=0x7fc688005428) at
core_filters.c:738
#3  0x0000000000456495 in send_brigade_blocking (s=0x7fc688005210,
bb=0x7fc678003198, bytes_written=0x7fc674003758, c=0x7fc688005428) at
core_filters.c:767
#4  0x0000000000455a4c in ap_core_output_filter (f=0x7fc6740036b0,
new_bb=0x7fc678003198) at core_filters.c:556
#5  0x000000000043a78e in ap_pass_brigade (next=0x7fc6740036b0,
bb=0x7fc678003198) at util_filter.c:590
#6  0x00007fc6929c19c3 in bio_filter_out_pass (outctx=0x7fc678003178)
at ssl_engine_io.c:139
#7  0x00007fc6929c1ada in bio_filter_out_flush (bio=0x7fc6740014e0) at
ssl_engine_io.c:160
#8  0x00007fc6929c2438 in bio_filter_in_read (bio=0x7fc674004570,
in=0x7fc670009ea3 "", inlen=5) at ssl_engine_io.c:477
#9  0x00007fc6923f49db in BIO_read () from
/home/covener/SRC/openssl/built/lib/libcrypto.so.1.0.0
#10 0x00007fc692760bfc in ssl3_read_n () from
/home/covener/SRC/openssl/built/lib/libssl.so.1.0.0
#11 0x00007fc692762a0d in ssl3_read_bytes () from
/home/covener/SRC/openssl/built/lib/libssl.so.1.0.0
#12 0x00007fc69275f0db in ssl3_read () from
/home/covener/SRC/openssl/built/lib/libssl.so.1.0.0
#13 0x00007fc6929c2b43 in ssl_io_input_read (inctx=0x7fc674001588,
    buf=0x7fc6740015d0 "GET /index.shtml HTTP/1.1\r\nUser-Agent:
curl/7.35.0\r\nHost: localhost\r\nAccept: */*\r\n\r\n", '\356'
<repeats 115 times>, <incomplete sequence \356>...,
    len=0x7fc68cbe1b10) at ssl_engine_io.c:647
#14 0x00007fc6929c4c8f in ssl_io_filter_input (f=0x7fc6740035e0,
bb=0x7fc674004118, mode=AP_MODE_SPECULATIVE, block=APR_NONBLOCK_READ,
readbytes=1) at ssl_engine_io.c:1443
#15 0x000000000043a6c9 in ap_get_brigade (next=0x7fc6740035e0,
bb=0x7fc674004118, mode=AP_MODE_SPECULATIVE, block=APR_NONBLOCK_READ,
readbytes=1) at util_filter.c:553
#16 0x00000000004851f0 in check_pipeline (c=0x7fc688005428,
bb=0x7fc674004118) at http_request.c:237
#17 0x0000000000485307 in ap_process_request_after_handler
(r=0x7fc6780129f0) at http_request.c:282
#18 0x000000000048564e in ap_process_async_request (r=0x7fc6780129f0)
at http_request.c:363
#19 0x0000000000485679 in ap_process_request (r=0x7fc6780129f0) at
http_request.c:373
#20 0x000000000048190f in ap_process_http_sync_connection
(c=0x7fc688005428) at http_core.c:210
#21 0x0000000000481a1b in ap_process_http_connection
(c=0x7fc688005428) at http_core.c:251
#22 0x0000000000474977 in ap_run_process_connection (c=0x7fc688005428)
at connection.c:41
#23 0x0000000000474ea9 in ap_process_connection (c=0x7fc688005428,
csd=0x7fc688005210) at connection.c:206
#24 0x00007fc6916c9742 in process_socket (thd=0x18d09f8,
p=0x7fc688005188, sock=0x7fc688005210, my_child_num=0,
my_thread_num=2, bucket_alloc=0x7fc6780008e8) at worker.c:632
#25 0x00007fc6916ca534 in worker_thread (thd=0x18d09f8,
dummy=0x7fc688000b80) at worker.c:992
#26 0x00007fc6a1e8cfe3 in dummy_worker (opaque=0x18d09f8) at
threadproc/unix/thread.c:142
#27 0x00007fc6a1c47182 in start_thread (arg=0x7fc68cbe2700) at
pthread_create.c:312
#28 0x00007fc6a197447d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) cont
Continuing.

-- 
Eric Covener
covener@gmail.com

Mime
View raw message