Issue #2 new

fastpic does not work over http proxy (squid)

Yuri Bochkarev
repo owner created an issue

Weird, but fastpic unlike radikal and ipicture does not work over http proxy. Everything works fine without proxy, though.

Sample execution log: {{{ [bz@bolt src]$ runghc imagepaste.hs fastpic hello.jpg Sending: POST http://fastpic.ru/upload/ HTTP/1.1 Content-Type: multipart/form-data; boundary=LYNX Content-Length: 2870 User-Agent: Links (2.2) Connection: close Host: fastpic.ru

proxy uri host: localhost, port: :3128 Creating new connection to localhost:3128 hangs here }}}

Wireshark log (see attachment) shows outgoing HTTP packet and although there's a reply from proxy as a TCP packet, there is no HTTP reply recognized by the sniffer.

Note sure, but this might be related to the recently fixed HTTP bug (http://hackage.haskell.org/trac/ghc/ticket/4251).

Comments (3)

  1. Yuri Bochkarev reporter

    Actually it works, but it takes 15 minutes for the POST-request to pass the squid.

    [bz@bolt src]$ time runghc imagepaste.hs fastpic hello.jpg > time.txt
    
    real    15m5.311s
    user    0m1.323s
    sys     0m0.107s
    
    [bz@bolt src]$ cat time.txt
    Sending:
    POST http://fastpic.ru/upload/ HTTP/1.1
    Content-Type: multipart/form-data; boundary=LYNX
    Content-Length: 2870
    User-Agent: Links (2.2)
    Connection: close
    Host: fastpic.ru
    
    
    proxy uri host: localhost, port: :3128
    Creating new connection to localhost:3128
    Received:
    HTTP/1.0 200 OK
    Server: nginx
    Date: Thu, 11 Nov 2010 12:18:03 GMT
    Content-Type: text/html
    Expires: Mon, 26 Jul 1997 05:00:00 GMT
    Last-Modified: Thu, 11 Nov 2010 12:18:03 GMT
    Cache-Control: no-store, no-cache, must-revalidate
    Cache-Control: post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: fp_sid=7b57b3c8ed45906652452bf4f756be70; expires=Fri, 11-Nov-2011 12:18:03 GMT; path=/; domain=fastpic.ru
    Refresh: 0;url=http://fastpic.ru/session/2010/1111/u12aCkUs7m.html
    X-Cache: MISS from localhost.localdomain
    X-Cache-Lookup: MISS from localhost.localdomain:3128
    Via: 1.1 localhost.localdomain:3128 (squid/2.7.STABLE9)
    Connection: close
    
    
    Cookies received:
      MkCookie {ckDomain = "fastpic.ru", ckName = "fp_sid", ckValue = "7b57b3c8ed45906652452bf4f756be70", ckPath = Just "/", ckCom
    ment = Nothing, ckVersion = Nothing}
    Accepting cookies with names: fp_sid
    HTTP/1.0 200 OK
    Server: nginx
    Date: Thu, 11 Nov 2010 12:18:03 GMT
    Content-Type: text/html
    Expires: Mon, 26 Jul 1997 05:00:00 GMT
    Last-Modified: Thu, 11 Nov 2010 12:18:03 GMT
    Cache-Control: no-store, no-cache, must-revalidate
    Cache-Control: post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: fp_sid=7b57b3c8ed45906652452bf4f756be70; expires=Fri, 11-Nov-2011 12:18:03 GMT; path=/; domain=fastpic.ru
    Refresh: 0;url=http://fastpic.ru/session/2010/1111/u12aCkUs7m.html
    X-Cache: MISS from localhost.localdomain
    X-Cache-Lookup: MISS from localhost.localdomain:3128
    Via: 1.1 localhost.localdomain:3128 (squid/2.7.STABLE9)
    Connection: close
    
    
    Sending:
    GET http://fastpic.ru/session/2010/1111/u12aCkUs7m.html HTTP/1.1
    Content-Length: 0
    User-Agent: hs-HTTP-4000.0.9
    Host: fastpic.ru
    
    
    proxy uri host: localhost, port: :3128
    Creating new connection to localhost:3128
    Received:
    HTTP/1.0 200 OK
    Server: nginx
    Date: Thu, 11 Nov 2010 12:33:03 GMT
    Content-Type: text/html
    Cache-Control: post-check=0, pre-check=0
    Expires: Mon, 26 Jul 1997 05:00:00 GMT
    Last-Modified: Thu, 11 Nov 2010 12:33:03 GMT
    Cache-Control: no-store, no-cache, must-revalidate
    Cache-Control: post-check=0, pre-check=0
    Pragma: no-cache
    X-Cache: MISS from localhost.localdomain
    X-Cache-Lookup: MISS from localhost.localdomain:3128
    Via: 1.1 localhost.localdomain:3128 (squid/2.7.STABLE9)
    Connection: close
    
    
    http://i12.fastpic.ru/big/2010/1111/e9/caac9eb9a4206ef5448e03706f671de9.jpg
    
  2. Yuri Bochkarev reporter

    It appears that the program (client) reads squid's reply from the socket but after reading all the available data it tries to read again and hangs on select() waiting for more data.

    strace log

    Also available here: http://pastebin.com/c33xAdrA

    [bz@bolt src]$ strace -e read=3 -e write=3 ./imagepaste fastpic hello.jpg > strace.log 2>&1
    ^C
    
    [bz@bolt src]$ cat strace.log
    execve("./imagepaste", ["./imagepaste", "fastpic", "hello.jpg"], [/* 52 vars */]) = 0
    brk(0)                                  = 0x8a5b000
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78be000
    access("/etc/ld.so.preload", R_OK)      = 0
    open("/etc/ld.so.preload", O_RDONLY)    = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=71, ...}) = 0
    mmap2(NULL, 71, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb78bd000
    close(3)                                = 0
    munmap(0xb78bd000, 71)                  = 0
    open("/etc/ld.so.cache", O_RDONLY)      = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=142551, ...}) = 0
    mmap2(NULL, 142551, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb789b000
    close(3)                                = 0
    open("/lib/librt.so.1", O_RDONLY)       = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\30\0\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  90 18 00 00 34 00 00 00  ........ ....4... |
     | 00020  98 72 00 00 00 00 00 00  34 00 20 00 09 00 28 00  .r...... 4. ...(. |
     | 00030  20 00 1f 00 06 00 00 00  34 00 00 00 34 00 00 00   ....... 4...4... |
     | 00040  34 00 00 00 20 01 00 00  20 01 00 00 05 00 00 00  4... ...  ....... |
     | 00050  04 00 00 00 03 00 00 00  18 5a 00 00 18 5a 00 00  ........ .Z...Z.. |
     | 00060  18 5a 00 00 13 00 00 00  13 00 00 00 04 00 00 00  .Z...... ........ |
     | 00070  01 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00080  00 00 00 00 a0 62 00 00  a0 62 00 00 05 00 00 00  .....b.. .b...... |
     | 00090  00 10 00 00 01 00 00 00  d4 6e 00 00 d4 7e 00 00  ........ .n...~.. |
     | 000a0  d4 7e 00 00 94 02 00 00  80 03 00 00 06 00 00 00  .~...... ........ |
     | 000b0  00 10 00 00 02 00 00 00  f0 6e 00 00 f0 7e 00 00  ........ .n...~.. |
     | 000c0  f0 7e 00 00 f0 00 00 00  f0 00 00 00 06 00 00 00  .~...... ........ |
     | 000d0  04 00 00 00 04 00 00 00  54 01 00 00 54 01 00 00  ........ T...T... |
     | 000e0  54 01 00 00 20 00 00 00  20 00 00 00 04 00 00 00  T... ...  ....... |
     | 000f0  04 00 00 00 50 e5 74 64  2c 5a 00 00 2c 5a 00 00  ....P.td ,Z..,Z.. |
     | 00100  2c 5a 00 00 74 00 00 00  74 00 00 00 04 00 00 00  ,Z..t... t....... |
     | 00110  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 00120  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 00130  04 00 00 00 52 e5 74 64  d4 6e 00 00 d4 7e 00 00  ....R.td .n...~.. |
     | 00140  d4 7e 00 00 2c 01 00 00  2c 01 00 00 04 00 00 00  .~..,... ,....... |
     | 00150  01 00 00 00 04 00 00 00  10 00 00 00 01 00 00 00  ........ ........ |
     | 00160  47 4e 55 00 00 00 00 00  02 00 00 00 06 00 00 00  GNU..... ........ |
     | 00170  12 00 00 00 4f 00 00 00  3f 00 00 00 08 00 00 00  ....O... ?....... |
     | 00180  08 00 00 00 11 41 04 31  a8 0c 28 02 08 51 1c 8b  .....A.1 ..(..Q.. |
     | 00190  00 14 32 e0 a8 4a 02 92  00 60 50 20 69 02 c7 f6  ..2..J.. .`P i... |
     | 001a0  00 11 44 07 00 00 00 00  00 00 00 00 3f 00 00 00  ..D..... ....?... |
     | 001b0  00 00 00 00 00 00 00 00  00 00 00 00 41 00 00 00  ........ ....A... |
     | 001c0  00 00 00 00 42 00 00 00  43 00 00 00 00 00 00 00  ....B... C....... |
     | 001d0  44 00 00 00 00 00 00 00  00 00 00 00 45 00 00 00  D....... ....E... |
     | 001e0  46 00 00 00 47 00 00 00  00 00 00 00 00 00 00 00  F...G... ........ |
     | 001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=30616, ...}) = 0
    mmap2(NULL, 33364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7892000
    mmap2(0xb7899000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7899000
    close(3)                                = 0
    open("/lib/libutil.so.1", O_RDONLY)     = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\t\0\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  e0 09 00 00 34 00 00 00  ........ ....4... |
     | 00020  6c 21 00 00 00 00 00 00  34 00 20 00 08 00 28 00  l!...... 4. ...(. |
     | 00030  1c 00 1b 00 06 00 00 00  34 00 00 00 34 00 00 00  ........ 4...4... |
     | 00040  34 00 00 00 00 01 00 00  00 01 00 00 05 00 00 00  4....... ........ |
     | 00050  04 00 00 00 03 00 00 00  e6 12 00 00 e6 12 00 00  ........ ........ |
     | 00060  e6 12 00 00 13 00 00 00  13 00 00 00 04 00 00 00  ........ ........ |
     | 00070  01 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00080  00 00 00 00 dc 14 00 00  dc 14 00 00 05 00 00 00  ........ ........ |
     | 00090  00 10 00 00 01 00 00 00  f4 1e 00 00 f4 2e 00 00  ........ ........ |
     | 000a0  f4 2e 00 00 8c 01 00 00  94 01 00 00 06 00 00 00  ........ ........ |
     | 000b0  00 10 00 00 02 00 00 00  08 1f 00 00 08 2f 00 00  ........ ...../.. |
     | 000c0  08 2f 00 00 e0 00 00 00  e0 00 00 00 06 00 00 00  ./...... ........ |
     | 000d0  04 00 00 00 04 00 00 00  34 01 00 00 34 01 00 00  ........ 4...4... |
     | 000e0  34 01 00 00 20 00 00 00  20 00 00 00 04 00 00 00  4... ...  ....... |
     | 000f0  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 00100  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 00110  04 00 00 00 52 e5 74 64  f4 1e 00 00 f4 2e 00 00  ....R.td ........ |
     | 00120  f4 2e 00 00 0c 01 00 00  0c 01 00 00 04 00 00 00  ........ ........ |
     | 00130  01 00 00 00 04 00 00 00  10 00 00 00 01 00 00 00  ........ ........ |
     | 00140  47 4e 55 00 00 00 00 00  02 00 00 00 06 00 00 00  GNU..... ........ |
     | 00150  12 00 00 00 0d 00 00 00  21 00 00 00 02 00 00 00  ........ !....... |
     | 00160  06 00 00 00 00 a0 e4 c0  84 80 10 40 00 00 00 00  ........ ...@.... |
     | 00170  00 00 00 00 21 00 00 00  00 00 00 00 00 00 00 00  ....!... ........ |
     | 00180  22 00 00 00 24 00 00 00  25 00 00 00 26 00 00 00  "...$... %...&... |
     | 00190  00 00 00 00 00 00 00 00  00 00 00 00 27 00 00 00  ........ ....'... |
     | 001a0  8f f5 c8 87 f4 f1 ab ba  5f 2b df 0b d5 3d 6c f6  ........ _+...=l. |
     | 001b0  9f 3c c0 7c f5 a3 e3 70  bf f8 df 0f 00 00 00 00  .<.|...p ........ |
     | 001c0  00 00 00 00 00 00 00 00  00 00 00 00 53 00 00 00  ........ ....S... |
     | 001d0  00 00 00 00 00 00 00 00  12 00 00 00 21 01 00 00  ........ ....!... |
     | 001e0  00 00 00 00 00 00 00 00  12 00 00 00 8f 00 00 00  ........ ........ |
     | 001f0  00 00 00 00 00 00 00 00  12 00 00 00 6f 00 00 00  ........ ....o... |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=9676, ...}) = 0
    mmap2(NULL, 12424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb788e000
    mmap2(0xb7890000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7890000
    close(3)                                = 0
    open("/lib/libdl.so.2", O_RDONLY)       = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \n\0\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  20 0a 00 00 34 00 00 00  ........  ...4... |
     | 00020  3c 21 00 00 00 00 00 00  34 00 20 00 08 00 28 00  <!...... 4. ...(. |
     | 00030  1d 00 1c 00 06 00 00 00  34 00 00 00 34 00 00 00  ........ 4...4... |
     | 00040  34 00 00 00 00 01 00 00  00 01 00 00 05 00 00 00  4....... ........ |
     | 00050  04 00 00 00 03 00 00 00  37 1a 00 00 37 1a 00 00  ........ 7...7... |
     | 00060  37 1a 00 00 13 00 00 00  13 00 00 00 04 00 00 00  7....... ........ |
     | 00070  01 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00080  00 00 00 00 fc 1b 00 00  fc 1b 00 00 05 00 00 00  ........ ........ |
     | 00090  00 10 00 00 01 00 00 00  b4 1e 00 00 b4 2e 00 00  ........ ........ |
     | 000a0  b4 2e 00 00 90 01 00 00  c4 01 00 00 06 00 00 00  ........ ........ |
     | 000b0  00 10 00 00 02 00 00 00  d0 1e 00 00 d0 2e 00 00  ........ ........ |
     | 000c0  d0 2e 00 00 f8 00 00 00  f8 00 00 00 06 00 00 00  ........ ........ |
     | 000d0  04 00 00 00 04 00 00 00  34 01 00 00 34 01 00 00  ........ 4...4... |
     | 000e0  34 01 00 00 20 00 00 00  20 00 00 00 04 00 00 00  4... ...  ....... |
     | 000f0  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 00100  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 00110  04 00 00 00 52 e5 74 64  b4 1e 00 00 b4 2e 00 00  ....R.td ........ |
     | 00120  b4 2e 00 00 4c 01 00 00  4c 01 00 00 04 00 00 00  ....L... L....... |
     | 00130  01 00 00 00 04 00 00 00  10 00 00 00 01 00 00 00  ........ ........ |
     | 00140  47 4e 55 00 00 00 00 00  02 00 00 00 06 00 00 00  GNU..... ........ |
     | 00150  12 00 00 00 16 00 00 00  18 00 00 00 04 00 00 00  ........ ........ |
     | 00160  07 00 00 00 98 00 11 00  00 42 00 00 82 00 60 08  ........ .B....`. |
     | 00170  93 28 08 de 18 00 00 00  00 00 00 00 00 00 00 00  .(...... ........ |
     | 00180  00 00 00 00 19 00 00 00  00 00 00 00 1a 00 00 00  ........ ........ |
     | 00190  1b 00 00 00 00 00 00 00  1d 00 00 00 00 00 00 00  ........ ........ |
     | 001a0  00 00 00 00 1e 00 00 00  20 00 00 00 21 00 00 00  ........  ...!... |
     | 001b0  00 00 00 00 00 00 00 00  22 00 00 00 24 00 00 00  ........ "...$... |
     | 001c0  25 00 00 00 00 00 00 00  27 00 00 00 91 21 fc f8  %....... '....!.. |
     | 001d0  95 b3 5f 19 05 e8 07 f9  06 02 04 f9 07 02 04 f9  .._..... ........ |
     | 001e0  c1 53 80 18 ae c4 4d 0f  61 a2 92 06 d5 3d 6c f6  .S....M. a....=l. |
     | 001f0  d7 3d 6c f6 f8 19 73 42  eb 16 a9 18 fb 19 73 42  .=l...sB ......sB |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=9668, ...}) = 0
    mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb788a000
    mmap2(0xb788c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb788c000
    close(3)                                = 0
    open("/usr/lib/libgmp.so.10", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\177\0\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  c0 7f 00 00 34 00 00 00  ........ ....4... |
     | 00020  d4 cb 05 00 00 00 00 00  34 00 20 00 04 00 28 00  ........ 4. ...(. |
     | 00030  1b 00 18 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00040  00 00 00 00 38 62 05 00  38 62 05 00 05 00 00 00  ....8b.. 8b...... |
     | 00050  00 10 00 00 01 00 00 00  38 62 05 00 38 72 05 00  ........ 8b..8r.. |
     | 00060  38 72 05 00 90 68 00 00  b8 68 00 00 06 00 00 00  8r...h.. .h...... |
     | 00070  00 10 00 00 02 00 00 00  dc 63 05 00 dc 73 05 00  ........ .c...s.. |
     | 00080  dc 73 05 00 c8 00 00 00  c8 00 00 00 06 00 00 00  .s...... ........ |
     | 00090  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 000a0  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 000b0  04 00 00 00 09 02 00 00  28 00 00 00 80 00 00 00  ........ (....... |
     | 000c0  0c 00 00 00 44 01 00 01  d0 01 30 15 46 00 22 05  ....D... ..0.F.". |
     | 000d0  8c 00 40 01 70 08 46 c2  c0 14 06 00 08 80 00 89  ..@.p.F. ........ |
     | 000e0  40 98 e4 0a 20 00 10 0e  04 10 08 0a 24 04 00 00  @... ... ....$... |
     | 000f0  00 00 26 40 25 ab c4 02  81 01 40 02 c0 04 52 19  ..&@%... ..@...R. |
     | 00100  32 22 a2 02 80 39 10 00  00 20 00 40 49 0a 09 02  2"...9.. . .@I... |
     | 00110  00 46 00 08 02 09 80 02  b2 58 02 02 18 00 00 8f  .F...... .X...... |
     | 00120  24 32 20 46 00 ca 80 77  85 14 00 98 08 c0 0c 4b  $2 F...w .......K |
     | 00130  02 18 29 06 c0 20 cc 08  c5 f0 2d 0c d4 48 e0 dc  ..).. .. ..-..H.. |
     | 00140  24 26 c8 a9 84 5f 09 15  08 20 45 00 d2 81 04 40  $&..._.. . E....@ |
     | 00150  12 83 68 32 00 21 00 60  98 a6 80 c0 80 01 00 c0  ..h2.!.` ........ |
     | 00160  86 00 c3 a0 83 5c 0f 68  d0 00 83 1c 89 02 90 26  .....\.h .......& |
     | 00170  93 20 00 00 06 90 58 43  10 c0 48 84 c6 76 2a 19  . ....XC ..H..v*. |
     | 00180  00 40 10 50 43 33 3b 98  04 01 18 00 81 06 21 01  .@.PC3;. ......!. |
     | 00190  40 42 04 00 01 08 00 00  52 aa 20 00 80 10 4a 34  @B...... R. ...J4 |
     | 001a0  79 a3 d1 a0 00 00 00 11  80 81 00 01 00 0c 18 00  y....... ........ |
     | 001b0  20 00 a6 00 40 02 00 00  00 21 18 12 b4 80 04 91   ...@... .!...... |
     | 001c0  91 17 04 01 10 88 18 30  07 00 80 00 12 44 19 04  .......0 .....D.. |
     | 001d0  10 0c 00 19 00 00 00 00  10 48 30 10 05 89 0a f9  ........ .H0..... |
     | 001e0  01 00 60 02 61 c4 66 d0  40 01 98 00 25 6a 1b 03  ..`.a.f. @...%j.. |
     | 001f0  41 64 30 48 40 20 cc 11  c3 c8 a0 aa 00 89 b6 81  Ad0H@ .. ........ |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=404602, ...}) = 0
    mmap2(NULL, 383728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb782c000
    mmap2(0xb7883000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x56) = 0xb7883000
    close(3)                                = 0
    open("/lib/libm.so.6", O_RDONLY)        = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@4\0\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  40 34 00 00 34 00 00 00  ........ @4..4... |
     | 00020  4c 32 02 00 00 00 00 00  34 00 20 00 09 00 28 00  L2...... 4. ...(. |
     | 00030  20 00 1f 00 06 00 00 00  34 00 00 00 34 00 00 00   ....... 4...4... |
     | 00040  34 00 00 00 20 01 00 00  20 01 00 00 05 00 00 00  4... ...  ....... |
     | 00050  04 00 00 00 03 00 00 00  58 0e 02 00 58 0e 02 00  ........ X...X... |
     | 00060  58 0e 02 00 13 00 00 00  13 00 00 00 04 00 00 00  X....... ........ |
     | 00070  01 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00080  00 00 00 00 4c 2d 02 00  4c 2d 02 00 05 00 00 00  ....L-.. L-...... |
     | 00090  00 10 00 00 01 00 00 00  dc 2e 02 00 dc 3e 02 00  ........ .....>.. |
     | 000a0  dc 3e 02 00 5c 01 00 00  a4 01 00 00 06 00 00 00  .>..\... ........ |
     | 000b0  00 10 00 00 02 00 00 00  f0 2e 02 00 f0 3e 02 00  ........ .....>.. |
     | 000c0  f0 3e 02 00 e8 00 00 00  e8 00 00 00 06 00 00 00  .>...... ........ |
     | 000d0  04 00 00 00 04 00 00 00  54 01 00 00 54 01 00 00  ........ T...T... |
     | 000e0  54 01 00 00 20 00 00 00  20 00 00 00 04 00 00 00  T... ...  ....... |
     | 000f0  04 00 00 00 50 e5 74 64  6c 0e 02 00 6c 0e 02 00  ....P.td l...l... |
     | 00100  6c 0e 02 00 1c 04 00 00  1c 04 00 00 04 00 00 00  l....... ........ |
     | 00110  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 00120  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 00130  04 00 00 00 52 e5 74 64  dc 2e 02 00 dc 3e 02 00  ....R.td .....>.. |
     | 00140  dc 3e 02 00 24 01 00 00  24 01 00 00 04 00 00 00  .>..$... $....... |
     | 00150  01 00 00 00 04 00 00 00  10 00 00 00 01 00 00 00  ........ ........ |
     | 00160  47 4e 55 00 00 00 00 00  02 00 00 00 06 00 00 00  GNU..... ........ |
     | 00170  12 00 00 00 8c 02 00 00  0f 00 00 00 40 00 00 00  ........ ....@... |
     | 00180  0b 00 00 00 25 90 20 c5  09 84 67 0b 00 c2 10 20  ....%. . ..g....  |
     | 00190  04 69 45 52 82 10 80 a0  00 7d 88 ba 08 08 49 00  .iER.... .}....I. |
     | 001a0  00 00 00 00 1b 04 81 00  00 00 9a 55 10 41 20 50  ........ ...U.A P |
     | 001b0  20 80 94 82 90 11 40 fa  32 00 c4 61 14 00 08 06   .....@. 2..a.... |
     | 001c0  c6 90 9a 0c 87 c0 20 a8  00 20 20 82 00 98 81 04  ...... . .  ..... |
     | 001d0  45 07 05 34 61 02 00 00  a9 43 18 c8 20 08 13 18  E..4a... .C.. ... |
     | 001e0  14 4d 38 22 00 12 14 11  40 54 83 02 45 01 01 01  .M8".... @T..E... |
     | 001f0  a4 0c 58 10 00 88 02 00  20 00 40 00 24 8c 05 08  ..X.....  .@.$... |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=145228, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb782b000
    mmap2(NULL, 147584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7806000
    mmap2(0xb7829000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22) = 0xb7829000
    close(3)                                = 0
    open("/lib/libc.so.6", O_RDONLY)        = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320m\1\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  d0 6d 01 00 34 00 00 00  ........ .m..4... |
     | 00020  e0 86 14 00 00 00 00 00  34 00 20 00 0a 00 28 00  ........ 4. ...(. |
     | 00030  44 00 43 00 06 00 00 00  34 00 00 00 34 00 00 00  D.C..... 4...4... |
     | 00040  34 00 00 00 40 01 00 00  40 01 00 00 05 00 00 00  4...@... @....... |
     | 00050  04 00 00 00 03 00 00 00  40 c3 12 00 40 c3 12 00  ........ @...@... |
     | 00060  40 c3 12 00 13 00 00 00  13 00 00 00 04 00 00 00  @....... ........ |
     | 00070  01 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00080  00 00 00 00 74 4d 14 00  74 4d 14 00 05 00 00 00  ....tM.. tM...... |
     | 00090  00 10 00 00 01 00 00 00  c8 51 14 00 c8 61 14 00  ........ .Q...a.. |
     | 000a0  c8 61 14 00 d4 27 00 00  00 58 00 00 06 00 00 00  .a...'.. .X...... |
     | 000b0  00 10 00 00 02 00 00 00  7c 6d 14 00 7c 7d 14 00  ........ |m..|}.. |
     | 000c0  7c 7d 14 00 f8 00 00 00  f8 00 00 00 06 00 00 00  |}...... ........ |
     | 000d0  04 00 00 00 04 00 00 00  74 01 00 00 74 01 00 00  ........ t...t... |
     | 000e0  74 01 00 00 20 00 00 00  20 00 00 00 04 00 00 00  t... ...  ....... |
     | 000f0  04 00 00 00 07 00 00 00  c8 51 14 00 c8 61 14 00  ........ .Q...a.. |
     | 00100  c8 61 14 00 08 00 00 00  40 00 00 00 04 00 00 00  .a...... @....... |
     | 00110  04 00 00 00 50 e5 74 64  54 c3 12 00 54 c3 12 00  ....P.td T...T... |
     | 00120  54 c3 12 00 f4 31 00 00  f4 31 00 00 04 00 00 00  T....1.. .1...... |
     | 00130  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 00140  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 00150  04 00 00 00 52 e5 74 64  c8 51 14 00 c8 61 14 00  ....R.td .Q...a.. |
     | 00160  c8 61 14 00 38 1e 00 00  38 1e 00 00 04 00 00 00  .a..8... 8....... |
     | 00170  01 00 00 00 04 00 00 00  10 00 00 00 01 00 00 00  ........ ........ |
     | 00180  47 4e 55 00 00 00 00 00  02 00 00 00 06 00 00 00  GNU..... ........ |
     | 00190  12 00 00 00 f3 03 00 00  09 00 00 00 00 02 00 00  ........ ........ |
     | 001a0  0e 00 00 00 a0 30 10 44  80 20 02 01 8c 03 e6 90  .....0.D . ...... |
     | 001b0  41 45 88 00 84 00 08 00  45 80 00 60 c0 80 00 0c  AE...... E..`.... |
     | 001c0  8a 0c 00 01 30 00 08 40  32 08 ae 04 88 48 36 6c  ....0..@ 2....H6l |
     | 001d0  a0 16 30 00 26 84 80 8e  04 08 42 24 02 0c a6 a4  ..0.&... ..B$.... |
     | 001e0  1a 06 63 c8 00 c2 20 01  c0 00 52 00 21 81 08 04  ..c... . ..R.!... |
     | 001f0  0a 20 20 a8 14 00 14 28  60 00 00 50 a0 ca 44 42  .  ....( `..P..DB |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=1347968, ...}) = 0
    mmap2(NULL, 1358280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76ba000
    mprotect(0xb77ff000, 4096, PROT_NONE)   = 0
    mmap2(0xb7800000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x145) = 0xb7800000
    mmap2(0xb7803000, 10696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7803000
    close(3)                                = 0
    open("/lib/libpthread.so.0", O_RDONLY)  = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340L\0\0004\0\0\0"..., 512) = 512
     | 00000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  .ELF.... ........ |
     | 00010  03 00 03 00 01 00 00 00  e0 4c 00 00 34 00 00 00  ........ .L..4... |
     | 00020  fc 63 01 00 00 00 00 00  34 00 20 00 09 00 28 00  .c...... 4. ...(. |
     | 00030  25 00 22 00 06 00 00 00  34 00 00 00 34 00 00 00  %."..... 4...4... |
     | 00040  34 00 00 00 20 01 00 00  20 01 00 00 05 00 00 00  4... ...  ....... |
     | 00050  04 00 00 00 03 00 00 00  00 1c 01 00 00 1c 01 00  ........ ........ |
     | 00060  00 1c 01 00 13 00 00 00  13 00 00 00 04 00 00 00  ........ ........ |
     | 00070  01 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........ |
     | 00080  00 00 00 00 34 4f 01 00  34 4f 01 00 05 00 00 00  ....4O.. 4O...... |
     | 00090  00 10 00 00 01 00 00 00  b0 5d 01 00 b0 6d 01 00  ........ .]...m.. |
     | 000a0  b0 6d 01 00 98 03 00 00  50 24 00 00 06 00 00 00  .m...... P$...... |
     | 000b0  00 10 00 00 02 00 00 00  b4 5e 01 00 b4 6e 01 00  ........ .^...n.. |
     | 000c0  b4 6e 01 00 f8 00 00 00  f8 00 00 00 06 00 00 00  .n...... ........ |
     | 000d0  04 00 00 00 04 00 00 00  54 01 00 00 54 01 00 00  ........ T...T... |
     | 000e0  54 01 00 00 20 00 00 00  20 00 00 00 04 00 00 00  T... ...  ....... |
     | 000f0  04 00 00 00 50 e5 74 64  14 1c 01 00 14 1c 01 00  ....P.td ........ |
     | 00100  14 1c 01 00 0c 05 00 00  0c 05 00 00 04 00 00 00  ........ ........ |
     | 00110  04 00 00 00 51 e5 74 64  00 00 00 00 00 00 00 00  ....Q.td ........ |
     | 00120  00 00 00 00 00 00 00 00  00 00 00 00 06 00 00 00  ........ ........ |
     | 00130  04 00 00 00 52 e5 74 64  b0 5d 01 00 b0 6d 01 00  ....R.td .]...m.. |
     | 00140  b0 6d 01 00 50 02 00 00  50 02 00 00 04 00 00 00  .m..P... P....... |
     | 00150  01 00 00 00 04 00 00 00  10 00 00 00 01 00 00 00  ........ ........ |
     | 00160  47 4e 55 00 00 00 00 00  02 00 00 00 06 00 00 00  GNU..... ........ |
     | 00170  12 00 00 00 04 02 00 00  51 00 00 00 40 00 00 00  ........ Q...@... |
     | 00180  0b 00 00 00 19 21 02 91  01 0a 10 22 40 48 20 d9  .....!.. ..."@H . |
     | 00190  03 00 49 34 80 00 00 40  00 20 80 80 91 51 60 c0  ..I4...@ . ...Q`. |
     | 001a0  40 12 8b 02 30 44 00 00  10 01 00 0a 00 01 0d 00  @...0D.. ........ |
     | 001b0  84 0a f0 01 58 b0 0d a0  80 08 20 24 84 10 42 a2  ....X... .. $..B. |
     | 001c0  29 6d 08 47 9c 56 10 00  94 20 84 24 48 00 58 28  )m.G.V.. . .$H.X( |
     | 001d0  01 92 1c c1 42 a0 90 12  08 0c 20 02 18 64 41 a5  ....B... .. ..dA. |
     | 001e0  63 04 40 0a 1a 03 00 00  29 00 28 cc 40 84 88 4c  c.@..... ).(.@..L |
     | 001f0  12 08 a1 00 04 00 08 00  c0 51 00 80 39 04 43 c0  ........ .Q..9.C. |
    fstat64(3, {st_mode=S_IFREG|0755, st_size=121426, ...}) = 0
    mmap2(NULL, 102912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76a0000
    mprotect(0xb76b5000, 4096, PROT_NONE)   = 0
    mmap2(0xb76b6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xb76b6000
    mmap2(0xb76b8000, 4608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76b8000
    close(3)                                = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb769f000
    set_thread_area({entry_number:-1 -> 6, base_addr:0xb769fad0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
    mprotect(0xb76b6000, 4096, PROT_READ)   = 0
    mprotect(0xb7800000, 8192, PROT_READ)   = 0
    mprotect(0xb7829000, 4096, PROT_READ)   = 0
    mprotect(0xb788c000, 4096, PROT_READ)   = 0
    mprotect(0xb7890000, 4096, PROT_READ)   = 0
    mprotect(0xb7899000, 4096, PROT_READ)   = 0
    mprotect(0xb78dc000, 4096, PROT_READ)   = 0
    munmap(0xb789b000, 142551)              = 0
    set_tid_address(0xb769fb38)             = 5452
    set_robust_list(0xb769fb40, 0xc)        = 0
    futex(0xbfac91f0, FUTEX_WAKE_PRIVATE, 1) = 0
    futex(0xbfac91f0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, bfac9200) = -1 EAGAIN (Resource temporarily unavailable)
    rt_sigaction(SIGRTMIN, {0xb76a46c0, [], SA_SIGINFO}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {0xb76a4740, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
    uname({sys="Linux", node="bolt", ...})  = 0
    brk(0)                                  = 0x8a5b000
    brk(0x8a7c000)                          = 0x8a7c000
    open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=3692336, ...}) = 0
    mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb749f000
    close(3)                                = 0
    gettimeofday({1289556012, 313853}, NULL) = 0
    mmap2(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb729f000
    munmap(0xb729f000, 397312)              = 0
    munmap(0xb7400000, 651264)              = 0
    rt_sigaction(SIGVTALRM, {0x81cdb70, [], SA_RESTART}, NULL, 8) = 0
    gettimeofday({1289556012, 314245}, NULL) = 0
    timer_create(0xfffffffa /* CLOCK_??? */, {(nil), SIGVTALRM, SIGEV_SIGNAL, {...}}, {(nil)}) = 0
    timer_settime(0, 0, {it_interval={0, 20000000}, it_value={0, 20000000}}, NULL) = 0
    rt_sigaction(SIGINT, {0x81d5ca0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
    rt_sigaction(SIGINT, NULL, {0x81d5ca0, [], 0}, 8) = 0
    rt_sigaction(SIGINT, {0x81d5ca0, [], 0}, NULL, 8) = 0
    rt_sigaction(SIGPIPE, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
    getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
    gettimeofday({1289556012, 314765}, NULL) = 0
    rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
    rt_sigaction(SIGINT, {0x81d5cc0, [], SA_RESETHAND|SA_SIGINFO}, NULL, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    open("hello.jpg", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=1299, ...}) = 0
    fcntl64(3, F_GETFL)                     = 0x8800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE)
    ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfac70c0) = -1 ENOTTY (Inappropriate ioctl for device)
    open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=56028, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78bd000
    read(4, "# GNU libc iconv configuration.\n"..., 4096) = 4096
    read(4, "B1.002//\nalias\tJS//\t\t\tJUS_I.B1.0"..., 4096) = 4096
    read(4, "59-3\t1\nmodule\tINTERNAL\t\tISO-8859"..., 4096) = 4096
    read(4, "859-14//\nalias\tISO-IR-199//\t\tISO"..., 4096) = 4096
    read(4, "CDIC-DK-NO-A//\tEBCDIC-DK-NO-A\t1\n"..., 4096) = 4096
    read(4, "\t\tIBM281//\t\tIBM281\t\t1\n\n#\tfrom\t\t\t"..., 4096) = 4096
    read(4, "\tIBM863\t\t1\n\n#\tfrom\t\t\tto\t\t\tmodule"..., 4096) = 4096
    read(4, "//\t\tIBM937//\nalias\tCSIBM937//\t\tI"..., 4096) = 4096
    read(4, "JAPANESE//\tEUC-JP//\nalias\tOSF000"..., 4096) = 4096
    read(4, "MACINTOSH//\t\tMACINTOSH\t1\n\n#\tfrom"..., 4096) = 4096
    read(4, "367-BOX//\nalias\tISO_10367BOX//\t\t"..., 4096) = 4096
    read(4, "EUC-JISX0213//\t\tINTERNAL\t\tEUC-JI"..., 4096) = 4096
    read(4, "/\t\tIBM1130//\nalias\tCSIBM1130//\t\t"..., 4096) = 4096
    read(4, "\t1\n\n#\tfrom\t\t\tto\t\t\tmodule\t\tcost\na"..., 4096) = 2780
    brk(0x8a9d000)                          = 0x8a9d000
    read(4, "", 4096)                       = 0
    close(4)                                = 0
    munmap(0xb78bd000, 4096)                = 0
    futex(0xb7802a8c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    open("/usr/lib/gconv/UTF-32.so", O_RDONLY) = 4
    read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \4\0\0004\0\0\0"..., 512) = 512
    fstat64(4, {st_mode=S_IFREG|0755, st_size=9476, ...}) = 0
    mmap2(NULL, 12328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb78ba000
    mmap2(0xb78bc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1) = 0xb78bc000
    close(4)                                = 0
    mprotect(0xb78bc000, 4096, PROT_READ)   = 0
    ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfac70c0) = -1 ENOTTY (Inappropriate ioctl for device)
    read(3, "\377\330\377\340\0\20JFIF\0\1\1\1\0`\0`\0\0\377\341\0:Exif\0\0II"..., 8192) = 1299
     | 00000  ff d8 ff e0 00 10 4a 46  49 46 00 01 01 01 00 60  ......JF IF.....` |
     | 00010  00 60 00 00 ff e1 00 3a  45 78 69 66 00 00 49 49  .`.....: Exif..II |
     | 00020  2a 00 08 00 00 00 03 00  10 51 01 00 01 00 00 00  *....... .Q...... |
     | 00030  00 8d 8d 8d 11 51 04 00  01 00 00 00 48 00 00 00  .....Q.. ....H... |
     | 00040  12 51 04 00 01 00 00 00  48 00 00 00 00 00 00 00  .Q...... H....... |
     | 00050  ff db 00 43 00 08 06 06  07 06 05 08 07 07 07 09  ...C.... ........ |
     | 00060  09 08 0a 0c 14 0d 0c 0b  0b 0c 19 12 13 0f 14 1d  ........ ........ |
     | 00070  1a 1f 1e 1d 1a 1c 1c 20  24 2e 27 20 22 2c 23 1c  .......  $.' ",#. |
     | 00080  1c 28 37 29 2c 30 31 34  34 34 1f 27 39 3d 38 32  .(7),014 44.'9=82 |
     | 00090  3c 2e 33 34 32 ff db 00  43 01 09 09 09 0c 0b 0c  <.342... C....... |
     | 000a0  18 0d 0d 18 32 21 1c 21  32 32 32 32 32 32 32 32  ....2!.! 22222222 |
     | 000b0  32 32 32 32 32 32 32 32  32 32 32 32 32 32 32 32  22222222 22222222 |
     | 000c0  32 32 32 32 32 32 32 32  32 32 32 32 32 32 32 32  22222222 22222222 |
     | 000d0  32 32 32 32 32 32 32 32  32 32 ff c0 00 11 08 00  22222222 22...... |
     | 000e0  0f 00 41 03 01 22 00 02  11 01 03 11 01 ff c4 00  ..A..".. ........ |
     | 000f0  1f 00 00 01 05 01 01 01  01 01 01 00 00 00 00 00  ........ ........ |
     | 00100  00 00 00 01 02 03 04 05  06 07 08 09 0a 0b ff c4  ........ ........ |
     | 00110  00 b5 10 00 02 01 03 03  02 04 03 05 05 04 04 00  ........ ........ |
     | 00120  00 01 7d 01 02 03 00 04  11 05 12 21 31 41 06 13  ..}..... ...!1A.. |
     | 00130  51 61 07 22 71 14 32 81  91 a1 08 23 42 b1 c1 15  Qa."q.2. ...#B... |
     | 00140  52 d1 f0 24 33 62 72 82  09 0a 16 17 18 19 1a 25  R..$3br. .......% |
     | 00150  26 27 28 29 2a 34 35 36  37 38 39 3a 43 44 45 46  &'()*456 789:CDEF |
     | 00160  47 48 49 4a 53 54 55 56  57 58 59 5a 63 64 65 66  GHIJSTUV WXYZcdef |
     | 00170  67 68 69 6a 73 74 75 76  77 78 79 7a 83 84 85 86  ghijstuv wxyz.... |
     | 00180  87 88 89 8a 92 93 94 95  96 97 98 99 9a a2 a3 a4  ........ ........ |
     | 00190  a5 a6 a7 a8 a9 aa b2 b3  b4 b5 b6 b7 b8 b9 ba c2  ........ ........ |
     | 001a0  c3 c4 c5 c6 c7 c8 c9 ca  d2 d3 d4 d5 d6 d7 d8 d9  ........ ........ |
     | 001b0  da e1 e2 e3 e4 e5 e6 e7  e8 e9 ea f1 f2 f3 f4 f5  ........ ........ |
     | 001c0  f6 f7 f8 f9 fa ff c4 00  1f 01 00 03 01 01 01 01  ........ ........ |
     | 001d0  01 01 01 01 01 00 00 00  00 00 00 01 02 03 04 05  ........ ........ |
     | 001e0  06 07 08 09 0a 0b ff c4  00 b5 11 00 02 01 02 04  ........ ........ |
     | 001f0  04 03 04 07 05 04 04 00  01 02 77 00 01 02 03 11  ........ ..w..... |
     | 00200  04 05 21 31 06 12 41 51  07 61 71 13 22 32 81 08  ..!1..AQ .aq."2.. |
     | 00210  14 42 91 a1 b1 c1 09 23  33 52 f0 15 62 72 d1 0a  .B.....# 3R..br.. |
     | 00220  16 24 34 e1 25 f1 17 18  19 1a 26 27 28 29 2a 35  .$4.%... ..&'()*5 |
     | 00230  36 37 38 39 3a 43 44 45  46 47 48 49 4a 53 54 55  6789:CDE FGHIJSTU |
     | 00240  56 57 58 59 5a 63 64 65  66 67 68 69 6a 73 74 75  VWXYZcde fghijstu |
     | 00250  76 77 78 79 7a 82 83 84  85 86 87 88 89 8a 92 93  vwxyz... ........ |
     | 00260  94 95 96 97 98 99 9a a2  a3 a4 a5 a6 a7 a8 a9 aa  ........ ........ |
     | 00270  b2 b3 b4 b5 b6 b7 b8 b9  ba c2 c3 c4 c5 c6 c7 c8  ........ ........ |
     | 00280  c9 ca d2 d3 d4 d5 d6 d7  d8 d9 da e2 e3 e4 e5 e6  ........ ........ |
     | 00290  e7 e8 e9 ea f2 f3 f4 f5  f6 f7 f8 f9 fa ff da 00  ........ ........ |
     | 002a0  0c 03 01 00 02 11 03 11  00 3f 00 f4 bb fd 6a 6b  ........ .?....jk |
     | 002b0  0f 1a ea b6 57 3a 96 b3  f6 47 d3 20 92 de 1b 2d  ....W:.. .G. ...- |
     | 002c0  30 dc 88 24 91 a5 46 70  63 85 c8 23 ca 52 03 92  0..$..Fp c..#.R.. |
     | 002d0  09 66 e0 80 02 d7 b3 f1  e5 96 81 e0 af 0d 5e f8  .f...... ......^. |
     | 002e0  8f 51 92 6b bd 4e c9 2e  a4 99 fc a8 ce 0a ab c8  .Q.k.N.. ........ |
     | 002f0  d8 f9 01 0b e6 28 08 81  a4 23 18 56 20 9a e9 3f  .....(.. .#.V ..? |
     | 00300  b0 48 d7 35 0d 5a 3d 56  fa 39 af 6d 12 d7 cb 51  .H.5.Z=V .9.m...Q |
     | 00310  09 48 42 6e 28 c9 98 c9  dc 0b b9 f9 8b 03 bc e4  .HBn(... ........ |
     | 00320  10 00 19 e9 e0 98 20 d3  b4 4b 7b 6d 67 55 b7 b8  ...... . .K{mgU.. |
     | 00330  d1 a2 6b 7b 5b c8 9e 2f  30 c2 c0 03 1b a9 8c c6  ..k{[../ 0....... |
     | 00340  eb 85 4e a9 9c c6 a7 39  c9 20 19 f1 6a 7a b4 7e  ..N....9 . ..jz.~ |
     | 00350  2e 5b 56 d5 67 92 d4 78  82 4b 23 0b c5 16 1a 16  .[V.g..x .K#..... |
     | 00360  d3 85 ca a9 21 01 f9 1c  70 73 9c 1c 31 6e b5 d0  ....!... ps..1n.. |
     | 00370  68 7e 24 b3 d7 fc cf b3  47 3c 78 8a 3b 98 fc e5  h~$..... G<x.;... |
     | 00380  03 ce b7 97 77 95 32 e0  9c 2b 6c 7c 06 c3 8d bf  ....w.2. .+l|.... |
     | 00390  32 8c 8c e5 c1 e0 48 ad  b5 68 af d3 5f d6 4f 97  2.....H. .h.._.O. |
     | 003a0  7a 2f 96 09 1a 17 52 e2  1f 23 05 9a 23 23 0f 2b  z/....R. .#..##.+ |
     | 003b0  e4 c9 62 4f 52 77 7c d5  62 d3 c2 ed a3 24 69 a3  ..bORw|. b....$i. |
     | 003c0  dd c8 84 bd bc 0d 2d c1  56 30 59 42 c5 96 04 50  ......-. V0YB...P |
     | 003d0  b8 61 86 64 dc c7 78 12  16 2e c5 54 50 01 e2 1f  .a.d..x. ...TP... |
     | 003e0  19 d9 78 66 fd 2d 6f 6c  ee d8 3d 95 c5 ea 4d 1b  ..xf.-ol ..=...M. |
     | 003f0  45 b5 96 04 df 22 00 d2  06 2f 8c 70 14 fd ec e7  E....".. ./.p.... |
     | 00400  01 8a c7 0f 8d ed 6e 1a  e6 28 34 db e9 6e 21 bb  ......n. .(4..n!. |
     | 00410  5b 15 86 37 81 8c b7 3e  57 9d 24 4a de 6e d0 d1  [..7...> W.$J.n.. |
     | 00420  a0 6d c5 8a 8c a9 0a 58  f1 5a 9a d6 81 63 e2 01  .m.....X .Z...c.. |
     | 00430  64 9a 82 c8 f1 5a 5c 7d  a0 44 ad 85 94 f9 6f 19  d....Z\} .D....o. |
     | 00440  57 1f c4 85 64 6c af 46  e8 72 09 06 b9 f0 bd b2  W...dl.F .r...... |
     | 00450  e8 da 7d 84 17 77 70 4b  60 fe 6c 17 a8 51 a7 f3  ..}..wpK `.l..Q.. |
     | 00460  4a b2 bc ad b9 4a 3b b8  92 4d c5 94 e4 bb 1e b8  J....J;. .M...... |
     | 00470  20 03 9f f1 27 8d c4 da  0e a4 ba 12 ea 49 70 ba   ...'... .....Ip. |
     | 00480  3b ea d0 6a 11 41 19 89  21 f2 fc c8 9d bc cc f1  ;..j.A.. !....... |
     | 00490  23 2b 20 52 bb fe 47 38  50 03 d6 86 a5 af ce 7c  #+ R..G8 P......| |
     | 004a0  6b a3 69 d6 2d 76 2d d6  f6 4b 4b f6 0b 17 90 ce  k.i.-v-. .KK..... |
     | 004b0  6d 1e 75 8c ee fd e6 f0  04 6c 0a 80 b8 62 09 27  m.u..... .l...b.' |
     | 004c0  80 4f e0 1b 29 2d ef ed  20 d4 f5 2b 5b 3b cd 32  .O..)-..  ..+[;.2 |
     | 004d0  2d 28 db 44 62 2b 15 bc  60 85 54 2f 1b 36 70 f2  -(.Db+.. `.T/.6p. |
     | 004e0  02 58 93 fb c3 dc 29 5b  83 c2 70 0d 4e 1b f3 a8  .X....)[ ..p.N... |
     | 004f0  df 19 a3 95 2e 5b 3e 56  24 b8 58 c4 26 66 1b 3e  .....[>V $.X.&f.> |
     | 00500  f3 44 0c 64 0c 26 18 90  aa d8 60 01 d0 51 45 14  .D.d.&.. ..`..QE. |
     | 00510  01 ff d9                                          ...               |
    read(3, "", 8192)                       = 0
    close(3)                                = 0
    socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
    fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
    open("/etc/resolv.conf", O_RDONLY)      = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=188, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78b9000
    read(4, "# Generated by dhcpcd from eth0\n"..., 4096) = 188
    read(4, "", 4096)                       = 0
    close(4)                                = 0
    munmap(0xb78b9000, 4096)                = 0
    socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
    connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
    close(4)                                = 0
    socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
    connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
    close(4)                                = 0
    open("/etc/nsswitch.conf", O_RDONLY)    = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=223, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78b9000
    read(4, "# Begin /etc/nsswitch.conf\n\npass"..., 4096) = 223
    read(4, "", 4096)                       = 0
    close(4)                                = 0
    munmap(0xb78b9000, 4096)                = 0
    open("/etc/ld.so.cache", O_RDONLY)      = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=142551, ...}) = 0
    mmap2(NULL, 142551, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb747c000
    close(4)                                = 0
    open("/lib/libnss_files.so.2", O_RDONLY) = 4
    read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\31\0\0004\0\0\0"..., 512) = 512
    fstat64(4, {st_mode=S_IFREG|0755, st_size=42496, ...}) = 0
    mmap2(NULL, 45772, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7470000
    mmap2(0xb747a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9) = 0xb747a000
    close(4)                                = 0
    mprotect(0xb747a000, 4096, PROT_READ)   = 0
    munmap(0xb747c000, 142551)              = 0
    open("/etc/host.conf", O_RDONLY)        = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=63, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb749e000
    read(4, "#\n# /etc/host.conf\n#\n\norder host"..., 4096) = 63
    read(4, "", 4096)                       = 0
    close(4)                                = 0
    munmap(0xb749e000, 4096)                = 0
    futex(0xb7804ba4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 4
    fcntl64(4, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
    fstat64(4, {st_mode=S_IFREG|0644, st_size=242, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb749e000
    read(4, "#\n# /etc/hosts: static lookup ta"..., 4096) = 242
    read(4, "", 4096)                       = 0
    close(4)                                = 0
    munmap(0xb749e000, 4096)                = 0
    connect(3, {sa_family=AF_INET, sin_port=htons(3128), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
    gettimeofday({1289556012, 330744}, NULL) = 0
    select(4, [], [3], NULL, {134, 217727}) = 1 (out [3], left {134, 217724})
    getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
    fcntl64(3, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
    ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfac70c0) = -1 EINVAL (Invalid argument)
    ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfac70c0) = -1 EINVAL (Invalid argument)
    write(3, "POST http://fastpic.ru/upload/ H"..., 177) = 177
     | 00000  50 4f 53 54 20 68 74 74  70 3a 2f 2f 66 61 73 74  POST htt p://fast |
     | 00010  70 69 63 2e 72 75 2f 75  70 6c 6f 61 64 2f 20 48  pic.ru/u pload/ H |
     | 00020  54 54 50 2f 31 2e 31 0d  0a 43 6f 6e 74 65 6e 74  TTP/1.1. .Content |
     | 00030  2d 54 79 70 65 3a 20 6d  75 6c 74 69 70 61 72 74  -Type: m ultipart |
     | 00040  2f 66 6f 72 6d 2d 64 61  74 61 3b 20 62 6f 75 6e  /form-da ta; boun |
     | 00050  64 61 72 79 3d 4c 59 4e  58 0d 0a 43 6f 6e 74 65  dary=LYN X..Conte |
     | 00060  6e 74 2d 4c 65 6e 67 74  68 3a 20 32 38 37 30 0d  nt-Lengt h: 2870. |
     | 00070  0a 55 73 65 72 2d 41 67  65 6e 74 3a 20 4c 69 6e  .User-Ag ent: Lin |
     | 00080  6b 73 20 28 32 2e 32 29  0d 0a 43 6f 6e 6e 65 63  ks (2.2) ..Connec |
     | 00090  74 69 6f 6e 3a 20 63 6c  6f 73 65 0d 0a 48 6f 73  tion: cl ose..Hos |
     | 000a0  74 3a 20 66 61 73 74 70  69 63 2e 72 75 0d 0a 0d  t: fastp ic.ru... |
     | 000b0  0a                                                .                 |
    write(3, "--LYNX\r\nContent-Disposition: for"..., 2870) = 2870
     | 00000  2d 2d 4c 59 4e 58 0d 0a  43 6f 6e 74 65 6e 74 2d  --LYNX.. Content- |
     | 00010  44 69 73 70 6f 73 69 74  69 6f 6e 3a 20 66 6f 72  Disposit ion: for |
     | 00020  6d 2d 64 61 74 61 3b 20  6e 61 6d 65 3d 22 66 69  m-data;  name="fi |
     | 00030  6c 65 31 22 3b 20 66 69  6c 65 6e 61 6d 65 3d 22  le1"; fi lename=" |
     | 00040  68 65 6c 6c 6f 2e 6a 70  67 22 0d 0a 43 6f 6e 74  hello.jp g"..Cont |
     | 00050  65 6e 74 2d 54 79 70 65  3a 20 69 6d 61 67 65 2f  ent-Type : image/ |
     | 00060  6a 70 65 67 0d 0a 0d 0a  ff d8 ff e0 00 10 4a 46  jpeg.... ......JF |
     | 00070  49 46 00 01 01 01 00 60  00 60 00 00 ff e1 00 3a  IF.....` .`.....: |
     | 00080  45 78 69 66 00 00 49 49  2a 00 08 00 00 00 03 00  Exif..II *....... |
     | 00090  10 51 01 00 01 00 00 00  00 8d 8d 8d 11 51 04 00  .Q...... .....Q.. |
     | 000a0  01 00 00 00 48 00 00 00  12 51 04 00 01 00 00 00  ....H... .Q...... |
     | 000b0  48 00 00 00 00 00 00 00  ff db 00 43 00 08 06 06  H....... ...C.... |
     | 000c0  07 06 05 08 07 07 07 09  09 08 0a 0c 14 0d 0c 0b  ........ ........ |
     | 000d0  0b 0c 19 12 13 0f 14 1d  1a 1f 1e 1d 1a 1c 1c 20  ........ .......  |
     | 000e0  24 2e 27 20 22 2c 23 1c  1c 28 37 29 2c 30 31 34  $.' ",#. .(7),014 |
     | 000f0  34 34 1f 27 39 3d 38 32  3c 2e 33 34 32 ff db 00  44.'9=82 <.342... |
     | 00100  43 01 09 09 09 0c 0b 0c  18 0d 0d 18 32 21 1c 21  C....... ....2!.! |
     | 00110  32 32 32 32 32 32 32 32  32 32 32 32 32 32 32 32  22222222 22222222 |
     | 00120  32 32 32 32 32 32 32 32  32 32 32 32 32 32 32 32  22222222 22222222 |
     | 00130  32 32 32 32 32 32 32 32  32 32 32 32 32 32 32 32  22222222 22222222 |
     | 00140  32 32 ff c0 00 11 08 00  0f 00 41 03 01 22 00 02  22...... ..A..".. |
     | 00150  11 01 03 11 01 ff c4 00  1f 00 00 01 05 01 01 01  ........ ........ |
     | 00160  01 01 01 00 00 00 00 00  00 00 00 01 02 03 04 05  ........ ........ |
     | 00170  06 07 08 09 0a 0b ff c4  00 b5 10 00 02 01 03 03  ........ ........ |
     | 00180  02 04 03 05 05 04 04 00  00 01 7d 01 02 03 00 04  ........ ..}..... |
     | 00190  11 05 12 21 31 41 06 13  51 61 07 22 71 14 32 81  ...!1A.. Qa."q.2. |
     | 001a0  91 a1 08 23 42 b1 c1 15  52 d1 f0 24 33 62 72 82  ...#B... R..$3br. |
     | 001b0  09 0a 16 17 18 19 1a 25  26 27 28 29 2a 34 35 36  .......% &'()*456 |
     | 001c0  37 38 39 3a 43 44 45 46  47 48 49 4a 53 54 55 56  789:CDEF GHIJSTUV |
     | 001d0  57 58 59 5a 63 64 65 66  67 68 69 6a 73 74 75 76  WXYZcdef ghijstuv |
     | 001e0  77 78 79 7a 83 84 85 86  87 88 89 8a 92 93 94 95  wxyz.... ........ |
     | 001f0  96 97 98 99 9a a2 a3 a4  a5 a6 a7 a8 a9 aa b2 b3  ........ ........ |
     | 00200  b4 b5 b6 b7 b8 b9 ba c2  c3 c4 c5 c6 c7 c8 c9 ca  ........ ........ |
     | 00210  d2 d3 d4 d5 d6 d7 d8 d9  da e1 e2 e3 e4 e5 e6 e7  ........ ........ |
     | 00220  e8 e9 ea f1 f2 f3 f4 f5  f6 f7 f8 f9 fa ff c4 00  ........ ........ |
     | 00230  1f 01 00 03 01 01 01 01  01 01 01 01 01 00 00 00  ........ ........ |
     | 00240  00 00 00 01 02 03 04 05  06 07 08 09 0a 0b ff c4  ........ ........ |
     | 00250  00 b5 11 00 02 01 02 04  04 03 04 07 05 04 04 00  ........ ........ |
     | 00260  01 02 77 00 01 02 03 11  04 05 21 31 06 12 41 51  ..w..... ..!1..AQ |
     | 00270  07 61 71 13 22 32 81 08  14 42 91 a1 b1 c1 09 23  .aq."2.. .B.....# |
     | 00280  33 52 f0 15 62 72 d1 0a  16 24 34 e1 25 f1 17 18  3R..br.. .$4.%... |
     | 00290  19 1a 26 27 28 29 2a 35  36 37 38 39 3a 43 44 45  ..&'()*5 6789:CDE |
     | 002a0  46 47 48 49 4a 53 54 55  56 57 58 59 5a 63 64 65  FGHIJSTU VWXYZcde |
     | 002b0  66 67 68 69 6a 73 74 75  76 77 78 79 7a 82 83 84  fghijstu vwxyz... |
     | 002c0  85 86 87 88 89 8a 92 93  94 95 96 97 98 99 9a a2  ........ ........ |
     | 002d0  a3 a4 a5 a6 a7 a8 a9 aa  b2 b3 b4 b5 b6 b7 b8 b9  ........ ........ |
     | 002e0  ba c2 c3 c4 c5 c6 c7 c8  c9 ca d2 d3 d4 d5 d6 d7  ........ ........ |
     | 002f0  d8 d9 da e2 e3 e4 e5 e6  e7 e8 e9 ea f2 f3 f4 f5  ........ ........ |
     | 00300  f6 f7 f8 f9 fa ff da 00  0c 03 01 00 02 11 03 11  ........ ........ |
     | 00310  00 3f 00 f4 bb fd 6a 6b  0f 1a ea b6 57 3a 96 b3  .?....jk ....W:.. |
     | 00320  f6 47 d3 20 92 de 1b 2d  30 dc 88 24 91 a5 46 70  .G. ...- 0..$..Fp |
     | 00330  63 85 c8 23 ca 52 03 92  09 66 e0 80 02 d7 b3 f1  c..#.R.. .f...... |
     | 00340  e5 96 81 e0 af 0d 5e f8  8f 51 92 6b bd 4e c9 2e  ......^. .Q.k.N.. |
     | 00350  a4 99 fc a8 ce 0a ab c8  d8 f9 01 0b e6 28 08 81  ........ .....(.. |
     | 00360  a4 23 18 56 20 9a e9 3f  b0 48 d7 35 0d 5a 3d 56  .#.V ..? .H.5.Z=V |
     | 00370  fa 39 af 6d 12 d7 cb 51  09 48 42 6e 28 c9 98 c9  .9.m...Q .HBn(... |
     | 00380  dc 0b b9 f9 8b 03 bc e4  10 00 19 e9 e0 98 20 d3  ........ ...... . |
     | 00390  b4 4b 7b 6d 67 55 b7 b8  d1 a2 6b 7b 5b c8 9e 2f  .K{mgU.. ..k{[../ |
     | 003a0  30 c2 c0 03 1b a9 8c c6  eb 85 4e a9 9c c6 a7 39  0....... ..N....9 |
     | 003b0  c9 20 19 f1 6a 7a b4 7e  2e 5b 56 d5 67 92 d4 78  . ..jz.~ .[V.g..x |
     | 003c0  82 4b 23 0b c5 16 1a 16  d3 85 ca a9 21 01 f9 1c  .K#..... ....!... |
     | 003d0  70 73 9c 1c 31 6e b5 d0  68 7e 24 b3 d7 fc cf b3  ps..1n.. h~$..... |
     | 003e0  47 3c 78 8a 3b 98 fc e5  03 ce b7 97 77 95 32 e0  G<x.;... ....w.2. |
     | 003f0  9c 2b 6c 7c 06 c3 8d bf  32 8c 8c e5 c1 e0 48 ad  .+l|.... 2.....H. |
     | 00400  b5 68 af d3 5f d6 4f 97  7a 2f 96 09 1a 17 52 e2  .h.._.O. z/....R. |
     | 00410  1f 23 05 9a 23 23 0f 2b  e4 c9 62 4f 52 77 7c d5  .#..##.+ ..bORw|. |
     | 00420  62 d3 c2 ed a3 24 69 a3  dd c8 84 bd bc 0d 2d c1  b....$i. ......-. |
     | 00430  56 30 59 42 c5 96 04 50  b8 61 86 64 dc c7 78 12  V0YB...P .a.d..x. |
     | 00440  16 2e c5 54 50 01 e2 1f  19 d9 78 66 fd 2d 6f 6c  ...TP... ..xf.-ol |
     | 00450  ee d8 3d 95 c5 ea 4d 1b  45 b5 96 04 df 22 00 d2  ..=...M. E....".. |
     | 00460  06 2f 8c 70 14 fd ec e7  01 8a c7 0f 8d ed 6e 1a  ./.p.... ......n. |
     | 00470  e6 28 34 db e9 6e 21 bb  5b 15 86 37 81 8c b7 3e  .(4..n!. [..7...> |
     | 00480  57 9d 24 4a de 6e d0 d1  a0 6d c5 8a 8c a9 0a 58  W.$J.n.. .m.....X |
     | 00490  f1 5a 9a d6 81 63 e2 01  64 9a 82 c8 f1 5a 5c 7d  .Z...c.. d....Z\} |
     | 004a0  a0 44 ad 85 94 f9 6f 19  57 1f c4 85 64 6c af 46  .D....o. W...dl.F |
     | 004b0  e8 72 09 06 b9 f0 bd b2  e8 da 7d 84 17 77 70 4b  .r...... ..}..wpK |
     | 004c0  60 fe 6c 17 a8 51 a7 f3  4a b2 bc ad b9 4a 3b b8  `.l..Q.. J....J;. |
     | 004d0  92 4d c5 94 e4 bb 1e b8  20 03 9f f1 27 8d c4 da  .M......  ...'... |
     | 004e0  0e a4 ba 12 ea 49 70 ba  3b ea d0 6a 11 41 19 89  .....Ip. ;..j.A.. |
     | 004f0  21 f2 fc c8 9d bc cc f1  23 2b 20 52 bb fe 47 38  !....... #+ R..G8 |
     | 00500  50 03 d6 86 a5 af ce 7c  6b a3 69 d6 2d 76 2d d6  P......| k.i.-v-. |
     | 00510  f6 4b 4b f6 0b 17 90 ce  6d 1e 75 8c ee fd e6 f0  .KK..... m.u..... |
     | 00520  04 6c 0a 80 b8 62 09 27  80 4f e0 1b 29 2d ef ed  .l...b.' .O..)-.. |
     | 00530  20 d4 f5 2b 5b 3b cd 32  2d 28 db 44 62 2b 15 bc   ..+[;.2 -(.Db+.. |
     | 00540  60 85 54 2f 1b 36 70 f2  02 58 93 fb c3 dc 29 5b  `.T/.6p. .X....)[ |
     | 00550  83 c2 70 0d 4e 1b f3 a8  df 19 a3 95 2e 5b 3e 56  ..p.N... .....[>V |
     | 00560  24 b8 58 c4 26 66 1b 3e  f3 44 0c 64 0c 26 18 90  $.X.&f.> .D.d.&.. |
     | 00570  aa d8 60 01 d0 51 45 14  01 ff d9 0d 0a 2d 2d 4c  ..`..QE. .....--L |
     | 00580  59 4e 58 0d 0a 43 6f 6e  74 65 6e 74 2d 44 69 73  YNX..Con tent-Dis |
     | 00590  70 6f 73 69 74 69 6f 6e  3a 20 66 6f 72 6d 2d 64  position : form-d |
     | 005a0  61 74 61 3b 20 6e 61 6d  65 3d 22 66 69 6c 65 32  ata; nam e="file2 |
     | 005b0  22 3b 20 66 69 6c 65 6e  61 6d 65 3d 22 22 0d 0a  "; filen ame="".. |
     | 005c0  43 6f 6e 74 65 6e 74 2d  54 79 70 65 3a 20 74 65  Content- Type: te |
     | 005d0  78 74 2f 70 6c 61 69 6e  0d 0a 0d 0a 0d 0a 2d 2d  xt/plain ......-- |
     | 005e0  4c 59 4e 58 0d 0a 43 6f  6e 74 65 6e 74 2d 44 69  LYNX..Co ntent-Di |
     | 005f0  73 70 6f 73 69 74 69 6f  6e 3a 20 66 6f 72 6d 2d  spositio n: form- |
     | 00600  64 61 74 61 3b 20 6e 61  6d 65 3d 22 66 69 6c 65  data; na me="file |
     | 00610  33 22 3b 20 66 69 6c 65  6e 61 6d 65 3d 22 22 0d  3"; file name="". |
     | 00620  0a 43 6f 6e 74 65 6e 74  2d 54 79 70 65 3a 20 74  .Content -Type: t |
     | 00630  65 78 74 2f 70 6c 61 69  6e 0d 0a 0d 0a 0d 0a 2d  ext/plai n......- |
     | 00640  2d 4c 59 4e 58 0d 0a 43  6f 6e 74 65 6e 74 2d 44  -LYNX..C ontent-D |
     | 00650  69 73 70 6f 73 69 74 69  6f 6e 3a 20 66 6f 72 6d  ispositi on: form |
     | 00660  2d 64 61 74 61 3b 20 6e  61 6d 65 3d 22 66 69 6c  -data; n ame="fil |
     | 00670  65 34 22 3b 20 66 69 6c  65 6e 61 6d 65 3d 22 22  e4"; fil ename="" |
     | 00680  0d 0a 43 6f 6e 74 65 6e  74 2d 54 79 70 65 3a 20  ..Conten t-Type:  |
     | 00690  74 65 78 74 2f 70 6c 61  69 6e 0d 0a 0d 0a 0d 0a  text/pla in...... |
     | 006a0  2d 2d 4c 59 4e 58 0d 0a  43 6f 6e 74 65 6e 74 2d  --LYNX.. Content- |
     | 006b0  44 69 73 70 6f 73 69 74  69 6f 6e 3a 20 66 6f 72  Disposit ion: for |
     | 006c0  6d 2d 64 61 74 61 3b 20  6e 61 6d 65 3d 22 66 69  m-data;  name="fi |
     | 006d0  6c 65 35 22 3b 20 66 69  6c 65 6e 61 6d 65 3d 22  le5"; fi lename=" |
     | 006e0  22 0d 0a 43 6f 6e 74 65  6e 74 2d 54 79 70 65 3a  "..Conte nt-Type: |
     | 006f0  20 74 65 78 74 2f 70 6c  61 69 6e 0d 0a 0d 0a 0d   text/pl ain..... |
     | 00700  0a 2d 2d 4c 59 4e 58 0d  0a 43 6f 6e 74 65 6e 74  .--LYNX. .Content |
     | 00710  2d 44 69 73 70 6f 73 69  74 69 6f 6e 3a 20 66 6f  -Disposi tion: fo |
     | 00720  72 6d 2d 64 61 74 61 3b  20 6e 61 6d 65 3d 22 66  rm-data;  name="f |
     | 00730  69 6c 65 36 22 3b 20 66  69 6c 65 6e 61 6d 65 3d  ile6"; f ilename= |
     | 00740  22 22 0d 0a 43 6f 6e 74  65 6e 74 2d 54 79 70 65  ""..Cont ent-Type |
     | 00750  3a 20 74 65 78 74 2f 70  6c 61 69 6e 0d 0a 0d 0a  : text/p lain.... |
     | 00760  0d 0a 2d 2d 4c 59 4e 58  0d 0a 43 6f 6e 74 65 6e  ..--LYNX ..Conten |
     | 00770  74 2d 44 69 73 70 6f 73  69 74 69 6f 6e 3a 20 66  t-Dispos ition: f |
     | 00780  6f 72 6d 2d 64 61 74 61  3b 20 6e 61 6d 65 3d 22  orm-data ; name=" |
     | 00790  75 70 6c 6f 61 64 69 6e  67 22 0d 0a 43 6f 6e 74  uploadin g"..Cont |
     | 007a0  65 6e 74 2d 54 79 70 65  3a 20 74 65 78 74 2f 70  ent-Type : text/p |
     | 007b0  6c 61 69 6e 3b 20 63 68  61 72 73 65 74 3d 75 74  lain; ch arset=ut |
     | 007c0  66 2d 38 0d 0a 0d 0a 31  0d 0a 2d 2d 4c 59 4e 58  f-8....1 ..--LYNX |
     | 007d0  0d 0a 43 6f 6e 74 65 6e  74 2d 44 69 73 70 6f 73  ..Conten t-Dispos |
     | 007e0  69 74 69 6f 6e 3a 20 66  6f 72 6d 2d 64 61 74 61  ition: f orm-data |
     | 007f0  3b 20 6e 61 6d 65 3d 22  63 68 65 63 6b 5f 74 68  ; name=" check_th |
     | 00800  75 6d 62 22 0d 0a 43 6f  6e 74 65 6e 74 2d 54 79  umb"..Co ntent-Ty |
     | 00810  70 65 3a 20 74 65 78 74  2f 70 6c 61 69 6e 3b 20  pe: text /plain;  |
     | 00820  63 68 61 72 73 65 74 3d  75 74 66 2d 38 0d 0a 0d  charset= utf-8... |
     | 00830  0a 73 69 7a 65 0d 0a 2d  2d 4c 59 4e 58 0d 0a 43  .size..- -LYNX..C |
     | 00840  6f 6e 74 65 6e 74 2d 44  69 73 70 6f 73 69 74 69  ontent-D ispositi |
     | 00850  6f 6e 3a 20 66 6f 72 6d  2d 64 61 74 61 3b 20 6e  on: form -data; n |
     | 00860  61 6d 65 3d 22 74 68 75  6d 62 5f 74 65 78 74 22  ame="thu mb_text" |
     | 00870  0d 0a 43 6f 6e 74 65 6e  74 2d 54 79 70 65 3a 20  ..Conten t-Type:  |
     | 00880  74 65 78 74 2f 70 6c 61  69 6e 3b 20 63 68 61 72  text/pla in; char |
     | 00890  73 65 74 3d 75 74 66 2d  38 0d 0a 0d 0a 55 76 65  set=utf- 8....Uve |
     | 008a0  6c 69 63 68 69 74 27 0d  0a 2d 2d 4c 59 4e 58 0d  lichit'. .--LYNX. |
     | 008b0  0a 43 6f 6e 74 65 6e 74  2d 44 69 73 70 6f 73 69  .Content -Disposi |
     | 008c0  74 69 6f 6e 3a 20 66 6f  72 6d 2d 64 61 74 61 3b  tion: fo rm-data; |
     | 008d0  20 6e 61 6d 65 3d 22 74  68 75 6d 62 5f 73 69 7a   name="t humb_siz |
     | 008e0  65 22 0d 0a 43 6f 6e 74  65 6e 74 2d 54 79 70 65  e"..Cont ent-Type |
     | 008f0  3a 20 74 65 78 74 2f 70  6c 61 69 6e 3b 20 63 68  : text/p lain; ch |
     | 00900  61 72 73 65 74 3d 75 74  66 2d 38 0d 0a 0d 0a 31  arset=ut f-8....1 |
     | 00910  37 30 0d 0a 2d 2d 4c 59  4e 58 0d 0a 43 6f 6e 74  70..--LY NX..Cont |
     | 00920  65 6e 74 2d 44 69 73 70  6f 73 69 74 69 6f 6e 3a  ent-Disp osition: |
     | 00930  20 66 6f 72 6d 2d 64 61  74 61 3b 20 6e 61 6d 65   form-da ta; name |
     | 00940  3d 22 72 65 73 5f 73 65  6c 65 63 74 22 0d 0a 43  ="res_se lect"..C |
     | 00950  6f 6e 74 65 6e 74 2d 54  79 70 65 3a 20 74 65 78  ontent-T ype: tex |
     | 00960  74 2f 70 6c 61 69 6e 3b  20 63 68 61 72 73 65 74  t/plain;  charset |
     | 00970  3d 75 74 66 2d 38 0d 0a  0d 0a 35 30 30 0d 0a 2d  =utf-8.. ..500..- |
     | 00980  2d 4c 59 4e 58 0d 0a 43  6f 6e 74 65 6e 74 2d 44  -LYNX..C ontent-D |
     | 00990  69 73 70 6f 73 69 74 69  6f 6e 3a 20 66 6f 72 6d  ispositi on: form |
     | 009a0  2d 64 61 74 61 3b 20 6e  61 6d 65 3d 22 6f 72 69  -data; n ame="ori |
     | 009b0  67 5f 72 65 73 69 7a 65  22 0d 0a 43 6f 6e 74 65  g_resize "..Conte |
     | 009c0  6e 74 2d 54 79 70 65 3a  20 74 65 78 74 2f 70 6c  nt-Type:  text/pl |
     | 009d0  61 69 6e 3b 20 63 68 61  72 73 65 74 3d 75 74 66  ain; cha rset=utf |
     | 009e0  2d 38 0d 0a 0d 0a 35 30  30 0d 0a 2d 2d 4c 59 4e  -8....50 0..--LYN |
     | 009f0  58 0d 0a 43 6f 6e 74 65  6e 74 2d 44 69 73 70 6f  X..Conte nt-Dispo |
     | 00a00  73 69 74 69 6f 6e 3a 20  66 6f 72 6d 2d 64 61 74  sition:  form-dat |
     | 00a10  61 3b 20 6e 61 6d 65 3d  22 6f 72 69 67 5f 72 6f  a; name= "orig_ro |
     | 00a20  74 61 74 65 22 0d 0a 43  6f 6e 74 65 6e 74 2d 54  tate"..C ontent-T |
     | 00a30  79 70 65 3a 20 74 65 78  74 2f 70 6c 61 69 6e 3b  ype: tex t/plain; |
     | 00a40  20 63 68 61 72 73 65 74  3d 75 74 66 2d 38 0d 0a   charset =utf-8.. |
     | 00a50  0d 0a 30 0d 0a 2d 2d 4c  59 4e 58 0d 0a 43 6f 6e  ..0..--L YNX..Con |
     | 00a60  74 65 6e 74 2d 44 69 73  70 6f 73 69 74 69 6f 6e  tent-Dis position |
     | 00a70  3a 20 66 6f 72 6d 2d 64  61 74 61 3b 20 6e 61 6d  : form-d ata; nam |
     | 00a80  65 3d 22 6a 70 65 67 5f  71 75 61 6c 69 74 79 22  e="jpeg_ quality" |
     | 00a90  0d 0a 43 6f 6e 74 65 6e  74 2d 54 79 70 65 3a 20  ..Conten t-Type:  |
     | 00aa0  74 65 78 74 2f 70 6c 61  69 6e 3b 20 63 68 61 72  text/pla in; char |
     | 00ab0  73 65 74 3d 75 74 66 2d  38 0d 0a 0d 0a 37 35 0d  set=utf- 8....75. |
     | 00ac0  0a 2d 2d 4c 59 4e 58 0d  0a 43 6f 6e 74 65 6e 74  .--LYNX. .Content |
     | 00ad0  2d 44 69 73 70 6f 73 69  74 69 6f 6e 3a 20 66 6f  -Disposi tion: fo |
     | 00ae0  72 6d 2d 64 61 74 61 3b  20 6e 61 6d 65 3d 22 73  rm-data;  name="s |
     | 00af0  75 62 6d 69 74 22 0d 0a  43 6f 6e 74 65 6e 74 2d  ubmit".. Content- |
     | 00b00  54 79 70 65 3a 20 74 65  78 74 2f 70 6c 61 69 6e  Type: te xt/plain |
     | 00b10  3b 20 63 68 61 72 73 65  74 3d 75 74 66 2d 38 0d  ; charse t=utf-8. |
     | 00b20  0a 0d 0a 5a 61 67 72 75  7a 69 74 27 0d 0a 2d 2d  ...Zagru zit'..-- |
     | 00b30  4c 59 4e 58 0d 0a                                 LYNX..            |
    read(3, 0xb7366010, 8192)               = -1 EAGAIN (Resource temporarily unavailable)
    gettimeofday({1289556012, 336145}, NULL) = 0
    select(4, [3], [], NULL, {134, 217727}) = 1 (in [3], left {134, 148210})
    read(3, "HTTP/1.0 200 OK\r\nServer: nginx\r\n"..., 8192) = 653
     | 00000  48 54 54 50 2f 31 2e 30  20 32 30 30 20 4f 4b 0d  HTTP/1.0  200 OK. |
     | 00010  0a 53 65 72 76 65 72 3a  20 6e 67 69 6e 78 0d 0a  .Server:  nginx.. |
     | 00020  44 61 74 65 3a 20 46 72  69 2c 20 31 32 20 4e 6f  Date: Fr i, 12 No |
     | 00030  76 20 32 30 31 30 20 30  39 3a 35 39 3a 30 35 20  v 2010 0 9:59:05  |
     | 00040  47 4d 54 0d 0a 43 6f 6e  74 65 6e 74 2d 54 79 70  GMT..Con tent-Typ |
     | 00050  65 3a 20 74 65 78 74 2f  68 74 6d 6c 0d 0a 45 78  e: text/ html..Ex |
     | 00060  70 69 72 65 73 3a 20 4d  6f 6e 2c 20 32 36 20 4a  pires: M on, 26 J |
     | 00070  75 6c 20 31 39 39 37 20  30 35 3a 30 30 3a 30 30  ul 1997  05:00:00 |
     | 00080  20 47 4d 54 0d 0a 4c 61  73 74 2d 4d 6f 64 69 66   GMT..La st-Modif |
     | 00090  69 65 64 3a 20 46 72 69  2c 20 31 32 20 4e 6f 76  ied: Fri , 12 Nov |
     | 000a0  20 32 30 31 30 20 30 39  3a 35 39 3a 30 35 20 47   2010 09 :59:05 G |
     | 000b0  4d 54 0d 0a 43 61 63 68  65 2d 43 6f 6e 74 72 6f  MT..Cach e-Contro |
     | 000c0  6c 3a 20 6e 6f 2d 73 74  6f 72 65 2c 20 6e 6f 2d  l: no-st ore, no- |
     | 000d0  63 61 63 68 65 2c 20 6d  75 73 74 2d 72 65 76 61  cache, m ust-reva |
     | 000e0  6c 69 64 61 74 65 0d 0a  43 61 63 68 65 2d 43 6f  lidate.. Cache-Co |
     | 000f0  6e 74 72 6f 6c 3a 20 70  6f 73 74 2d 63 68 65 63  ntrol: p ost-chec |
     | 00100  6b 3d 30 2c 20 70 72 65  2d 63 68 65 63 6b 3d 30  k=0, pre -check=0 |
     | 00110  0d 0a 50 72 61 67 6d 61  3a 20 6e 6f 2d 63 61 63  ..Pragma : no-cac |
     | 00120  68 65 0d 0a 53 65 74 2d  43 6f 6f 6b 69 65 3a 20  he..Set- Cookie:  |
     | 00130  66 70 5f 73 69 64 3d 39  32 62 65 66 35 66 30 36  fp_sid=9 2bef5f06 |
     | 00140  30 64 38 61 31 65 30 30  39 62 63 35 63 66 31 66  0d8a1e00 9bc5cf1f |
     | 00150  31 31 64 32 33 35 61 3b  20 65 78 70 69 72 65 73  11d235a;  expires |
     | 00160  3d 53 61 74 2c 20 31 32  2d 4e 6f 76 2d 32 30 31  =Sat, 12 -Nov-201 |
     | 00170  31 20 30 39 3a 35 39 3a  30 35 20 47 4d 54 3b 20  1 09:59: 05 GMT;  |
     | 00180  70 61 74 68 3d 2f 3b 20  64 6f 6d 61 69 6e 3d 66  path=/;  domain=f |
     | 00190  61 73 74 70 69 63 2e 72  75 0d 0a 52 65 66 72 65  astpic.r u..Refre |
     | 001a0  73 68 3a 20 30 3b 75 72  6c 3d 68 74 74 70 3a 2f  sh: 0;ur l=http:/ |
     | 001b0  2f 66 61 73 74 70 69 63  2e 72 75 2f 73 65 73 73  /fastpic .ru/sess |
     | 001c0  69 6f 6e 2f 32 30 31 30  2f 31 31 31 32 2f 6f 75  ion/2010 /1112/ou |
     | 001d0  31 35 42 63 6a 31 52 53  2e 68 74 6d 6c 0d 0a 58  15Bcj1RS .html..X |
     | 001e0  2d 43 61 63 68 65 3a 20  4d 49 53 53 20 66 72 6f  -Cache:  MISS fro |
     | 001f0  6d 20 6c 6f 63 61 6c 68  6f 73 74 2e 6c 6f 63 61  m localh ost.loca |
     | 00200  6c 64 6f 6d 61 69 6e 0d  0a 58 2d 43 61 63 68 65  ldomain. .X-Cache |
     | 00210  2d 4c 6f 6f 6b 75 70 3a  20 4d 49 53 53 20 66 72  -Lookup:  MISS fr |
     | 00220  6f 6d 20 6c 6f 63 61 6c  68 6f 73 74 2e 6c 6f 63  om local host.loc |
     | 00230  61 6c 64 6f 6d 61 69 6e  3a 33 31 32 38 0d 0a 56  aldomain :3128..V |
     | 00240  69 61 3a 20 31 2e 31 20  6c 6f 63 61 6c 68 6f 73  ia: 1.1  localhos |
     | 00250  74 2e 6c 6f 63 61 6c 64  6f 6d 61 69 6e 3a 33 31  t.locald omain:31 |
     | 00260  32 38 20 28 73 71 75 69  64 2f 32 2e 37 2e 53 54  28 (squi d/2.7.ST |
     | 00270  41 42 4c 45 39 29 0d 0a  43 6f 6e 6e 65 63 74 69  ABLE9).. Connecti |
     | 00280  6f 6e 3a 20 63 6c 6f 73  65 0d 0a 0d 0a           on: clos e....    |
    rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    read(3, 0xb7366010, 8192)               = -1 EAGAIN (Resource temporarily unavailable)
    gettimeofday({1289556012, 408286}, NULL) = 0
    select(4, [3], [], NULL, {0, 0})        = 0 (Timeout)
    gettimeofday({1289556012, 408397}, NULL) = 0
    select(4, [3], [], NULL, {134, 217727} <unfinished ...>
    

    tshark log

    <after program startup>
    4140.922608    127.0.0.1 -> 127.0.0.1    TCP 41999 > ndl-aas [SYN] Seq=0 Win=32792 Len=0 MSS=16396 SACK_PERM=1 TSV=120091801 TSER=0 WS=6
    4140.922630    127.0.0.1 -> 127.0.0.1    TCP ndl-aas > 41999 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=16396 SACK_PERM=1 TSV=120091801 TSER=120091801 WS=6
    4140.922678    127.0.0.1 -> 127.0.0.1    TCP 41999 > ndl-aas [ACK] Seq=1 Ack=1 Win=32832 Len=0 TSV=120091801 TSER=120091801
    4140.923406    127.0.0.1 -> 127.0.0.1    TCP [TCP segment of a reassembled PDU]
    4140.923422    127.0.0.1 -> 127.0.0.1    TCP ndl-aas > 41999 [ACK] Seq=1 Ack=178 Win=33856 Len=0 TSV=120091801 TSER=120091801
    4140.924126    127.0.0.1 -> 127.0.0.1    HTTP POST http://fastpic.ru/upload/ HTTP/1.1  (JPEG JFIF image) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain) (text/plain)
    4140.924140    127.0.0.1 -> 127.0.0.1    TCP ndl-aas > 41999 [ACK] Seq=1 Ack=3048 Win=49280 Len=0 TSV=120091801 TSER=120091801
    4141.088124    127.0.0.1 -> 127.0.0.1    TCP [TCP segment of a reassembled PDU]
    4141.088137    127.0.0.1 -> 127.0.0.1    TCP 41999 > ndl-aas [ACK] Seq=3048 Ack=654 Win=34112 Len=0 TSV=120091851 TSER=120091851
    4143.114723    127.0.0.1 -> 127.0.0.1    HTTP HTTP/1.0 200 OK
    4143.114740    127.0.0.1 -> 127.0.0.1    TCP 48967 > ndl-aas [RST] Seq=3049 Win=0 Len=0
    
    <after termination with Ctrl-C>
    4162.859021    127.0.0.1 -> 127.0.0.1    TCP 41999 > ndl-aas [FIN, ACK] Seq=3048 Ack=654 Win=34112 Len=0 TSV=120098382 TSER=120091851
    4162.897873    127.0.0.1 -> 127.0.0.1    TCP ndl-aas > 41999 [ACK] Seq=654 Ack=3049 Win=49280 Len=0 TSV=120098394 TSER=120098382
    
  3. Yuri Bochkarev reporter

    Tried to debug Network.Browser and failed with message:

    Prelude> :break Network.Browser browse
    module 'Network.Browser' is from another package;
    this command requires an interpreted module
    

    In order to debug the package I had to checkout the sources and put them into the program's folder. After that :break allows to set breakpoints:

    *Main> :break Network.Browser 418
    Breakpoint 0 activated at Network/Browser.hs:418:21-48
    *Main> :show breaks
    [0] Network.Browser Network/Browser.hs:418:21-48
    
  4. Log in to comment