fault...

From: Michael O'Reilly <michael@dont-contact.us>
Date: 17 Feb 1998 13:36:07 +0800

(gdb) where
#0 clientGetHeadersForIMS (data=0x856e6a8, buf=0xb288640 "",
    size=-1) at client_side.c:1073
#1 0x8074b0e in storeUnregister (e=0x86ad9c0, data=0x856e6a8)
    at store_client.c:368
#2 0x8055240 in httpRequestFree (data=0x856e6a8)
    at client_side.c:583
#3 0x805539a in connStateFree (fd=132, data=0xab8b8b8)
    at client_side.c:619
#4 0x8058cee in commCallCloseHandlers (fd=132) at comm.c:612
#5 0x8058e0c in comm_close (fd=132) at comm.c:634
#6 0x805724c in clientReadRequest (fd=132, data=0xab8b8b8)
    at client_side.c:1629
#7 0x8059593 in comm_select (sec=1) at comm.c:1107
#8 0x806960e in main (argc=2, argv=0xbffffe70) at main.c:600
#9 0x804a4ee in _start ()
(gdb) print entry
$3 = (StoreEntry *) 0x0
(gdb) print *http
$4 = {conn = 0xab8b8b8, request = 0xb4fd940, uri = 0x0,
  log_uri = 0x0, out = {buf = 0x0, offset = 0, size = 0},
  req_sz = 383, entry = 0x0, old_entry = 0x0,
  log_type = LOG_TCP_IMS_MISS, http_code = 0, accel = 0, start = {
    tv_sec = 887693034, tv_usec = 298682}, http_ver = 1,
  redirect_state = 2, acl_checklist = 0x0, next = 0x0, al = {
    url = 0x9219440 "8Ý\027\013Ä\036\t\bucows.iinet.net.au/images/4rate.gif", http = {method = 1, code = 0, content_type = 0x8086174 "-"},
    icp = {opcode = ICP_INVALID}, cache = {caddr = {
        s_addr = 3208526795}, size = 0, code = LOG_TCP_IMS_MISS,
      msec = 11, ident = 0x8086174 "-"}, hier = {code = HIER_NONE,
      host = "-", '\000' <repeats 126 times>, icp = {start = {
          tv_sec = 0, tv_usec = 0}, stop = {tv_sec = 0,
          tv_usec = 0}, n_sent = 0, n_recv = 0,
        n_replies_expected = 0, timeout = 0, w_rtt = 0, p_rtt = 0}},
    headers = {
      request = 0xbfb29f8 "Accept: */*\r\nReferer: http://tucows.iinet.net.au/mult95.html\r\nAccept-Language: en-au\r\nAccept-Encoding: gzip, deflate\r\nIf-Modified-Since: Wed, 01 Oct 1997 05:59:00 GMT\r\nIf-None-Match: \"222061-a44-3431e"..., reply = 0x0}, private = {
      method_str = 0x808f946 "GET"}}}

My workaround:
        Have storeUnregister use a callback of '-2' instead of '-1',
and have clientGetHeadersForIMS() do a simple return if it sees -2 as
a size, instead of forwarding the request on to processMiss.

Michael.
Received on Tue Jul 29 2003 - 13:15:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:43 MST