OK, I've made tests using test_http with and without inmediate-sendsms-reply (i-s-r from now on).
With i-s-r line commented: ]# ./test_http -v0 "http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA" 2007-04-03 17:44:45 [4145] [0] INFO: Starting fetch 0 2007-04-03 17:44:45 [4145] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2007-04-03 17:44:45 [4145] [0] DEBUG: Started thread 2 (gwlib/http.c:write_request_thread) 2007-04-03 17:44:45 [4145] [0] DEBUG: Started request 0 with url: 2007-04-03 17:44:45 [4145] [0] DEBUG: Octet string at 0x99531e0: 2007-04-03 17:44:45 [4145] [0] DEBUG: len: 123 2007-04-03 17:44:45 [4145] [0] DEBUG: size: 124 2007-04-03 17:44:45 [4145] [0] DEBUG: immutable: 0 2007-04-03 17:44:45 [4145] [0] DEBUG: data: 68 74 74 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73 74 http://localhost 2007-04-03 17:44:45 [4145] [0] DEBUG: data: 3a 31 33 30 31 33 2f 63 67 69 2d 62 69 6e 2f 73 :13013/cgi-bin/s 2007-04-03 17:44:45 [4145] [0] DEBUG: data: 65 6e 64 73 6d 73 3f 75 73 65 72 6e 61 6d 65 3d endsms?username= ... 2007-04-03 17:44:45 [4145] [0] DEBUG: data: 6c 26 74 65 78 74 3d 48 4f 4c 41 &text=HOLA 2007-04-03 17:44:45 [4145] [0] DEBUG: Octet string dump ends. 2007-04-03 17:44:45 [4145] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4145. 2007-04-03 17:44:45 [4145] [2] DEBUG: Thread 2 (gwlib/http.c:write_request_thread) maps to pid 4145. 2007-04-03 17:44:45 [4145] [2] DEBUG: Parsing URL `http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA': 2007-04-03 17:44:45 [4145] [2] DEBUG: Scheme: http:// 2007-04-03 17:44:45 [4145] [2] DEBUG: Host: localhost 2007-04-03 17:44:45 [4145] [2] DEBUG: Port: 13013 2007-04-03 17:44:45 [4145] [2] DEBUG: Username: (null) 2007-04-03 17:44:45 [4145] [2] DEBUG: Password: (null) 2007-04-03 17:44:45 [4145] [2] DEBUG: Path: /cgi-bin/sendsms 2007-04-03 17:44:45 [4145] [2] DEBUG: Query: username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA 2007-04-03 17:44:45 [4145] [2] DEBUG: Fragment: (null) 2007-04-03 17:44:45 [4145] [2] DEBUG: HTTP: Opening connection to `localhost:13013' (fd=13). 2007-04-03 17:44:45 [4145] [2] DEBUG: Socket connecting 2007-04-03 17:44:45 [4145] [1] DEBUG: Get info about connecting socket 2007-04-03 17:44:45 [4145] [1] DEBUG: HTTP: Sending request: 2007-04-03 17:44:45 [4145] [1] DEBUG: Octet string at 0x993fb80: 2007-04-03 17:44:45 [4145] [1] DEBUG: len: 178 2007-04-03 17:44:45 [4145] [1] DEBUG: size: 1024 2007-04-03 17:44:45 [4145] [1] DEBUG: immutable: 0 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 47 45 54 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e GET /cgi-bin/sen ... 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 74 65 78 74 3d 48 4f 4c 41 20 48 54 54 50 2f 31 text=HOLA HTTP/1 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 2e 31 0d 0a 48 6f 73 74 3a 20 6c 6f 63 61 6c 68 .1..Host: localh 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 6f 73 74 3a 31 33 30 31 33 0d 0a 43 6f 6e 6e 65 ost:13013..Conne 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 76 ction: keep-aliv 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 65 0d 0a 58 2d 54 68 72 65 61 64 3a 20 30 0d 0a e..X-Thread: 0.. 2007-04-03 17:44:45 [4145] [1] DEBUG: data: 0d 0a .. 2007-04-03 17:44:45 [4145] [1] DEBUG: Octet string dump ends. And it stays there forever. With i-s-r set to TRUE: ]# ./test_http -v0 "http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA" ]# ./test_http -v0 "http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA" 2007-04-03 17:47:02 [4199] [0] INFO: Starting fetch 0 2007-04-03 17:47:02 [4199] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2007-04-03 17:47:02 [4199] [0] DEBUG: Started thread 2 (gwlib/http.c:write_request_thread) 2007-04-03 17:47:02 [4199] [0] DEBUG: Started request 0 with url: 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9f9c1e0: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 123 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 124 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 68 74 74 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73 74 http://localhost ... 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 6c 26 74 65 78 74 3d 48 4f 4c 41 l&text=HOLA 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4199. 2007-04-03 17:47:02 [4199] [2] DEBUG: Thread 2 (gwlib/http.c:write_request_thread) maps to pid 4199. 2007-04-03 17:47:02 [4199] [2] DEBUG: Parsing URL `http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA': 2007-04-03 17:47:02 [4199] [2] DEBUG: Scheme: http:// 2007-04-03 17:47:02 [4199] [2] DEBUG: Host: localhost 2007-04-03 17:47:02 [4199] [2] DEBUG: Port: 13013 2007-04-03 17:47:02 [4199] [2] DEBUG: Username: (null) 2007-04-03 17:47:02 [4199] [2] DEBUG: Password: (null) 2007-04-03 17:47:02 [4199] [2] DEBUG: Path: /cgi-bin/sendsms 2007-04-03 17:47:02 [4199] [2] DEBUG: Query: username=foo&password=bar&from=1234&to=1234567890&smsc=mysms&text=HOLA 2007-04-03 17:47:02 [4199] [2] DEBUG: Fragment: (null) 2007-04-03 17:47:02 [4199] [2] DEBUG: HTTP: Opening connection to `localhost:13013' (fd=13). 2007-04-03 17:47:02 [4199] [2] DEBUG: Socket connecting 2007-04-03 17:47:02 [4199] [1] DEBUG: Get info about connecting socket 2007-04-03 17:47:02 [4199] [1] DEBUG: HTTP: Sending request: 2007-04-03 17:47:02 [4199] [1] DEBUG: Octet string at 0x9f88b80: 2007-04-03 17:47:02 [4199] [1] DEBUG: len: 178 2007-04-03 17:47:02 [4199] [1] DEBUG: size: 1024 2007-04-03 17:47:02 [4199] [1] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 47 45 54 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e GET /cgi-bin/sen ... 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 74 65 78 74 3d 48 4f 4c 41 20 48 54 54 50 2f 31 text=HOLA HTTP/1 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 2e 31 0d 0a 48 6f 73 74 3a 20 6c 6f 63 61 6c 68 .1..Host: localh 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 6f 73 74 3a 31 33 30 31 33 0d 0a 43 6f 6e 6e 65 ost:13013..Conne 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 76 ction: keep-aliv 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 65 0d 0a 58 2d 54 68 72 65 61 64 3a 20 30 0d 0a e..X-Thread: 0.. 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 0d 0a .. 2007-04-03 17:47:02 [4199] [1] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [1] DEBUG: HTTP: Status line: <HTTP/1.1 202 Accepted> 2007-04-03 17:47:02 [4199] [1] DEBUG: HTTP: Received response: 2007-04-03 17:47:02 [4199] [1] DEBUG: Octet string at 0x9f88b80: 2007-04-03 17:47:02 [4199] [1] DEBUG: len: 123 2007-04-03 17:47:02 [4199] [1] DEBUG: size: 1024 2007-04-03 17:47:02 [4199] [1] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 53 65 72 76 65 72 3a 20 4b 61 6e 6e 65 6c 2f 63 Server: Kannel/c 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 76 73 2d 32 30 30 37 30 33 33 30 0d 0a 43 6f 6e vs-20070330..Con 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 35 0d 0a tent-Length: 5.. 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 43 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 74 65 Content-type: te 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 78 74 2f 68 74 6d 6c 0d 0a 50 72 61 67 6d 61 3a xt/html..Pragma: 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 20 6e 6f 2d 63 61 63 68 65 0d 0a 43 61 63 68 65 no-cache..Cache 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 2d 43 6f 6e 74 72 6f 6c 3a 20 6e 6f 2d 63 61 63 -Control: no-cac 2007-04-03 17:47:02 [4199] [1] DEBUG: data: 68 65 0d 0a 0d 0a 53 65 6e 74 2e he....Sent. 2007-04-03 17:47:02 [4199] [1] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] DEBUG: Done with request 0 2007-04-03 17:47:02 [4199] [0] DEBUG: Content-type is <text/html>, charset is <ISO-8859-1> 2007-04-03 17:47:02 [4199] [0] DEBUG: Reply headers: 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9f86b98: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 27 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 29 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 53 65 72 76 65 72 3a 20 4b 61 6e 6e 65 6c 2f 63 Server: Kannel/c 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 76 73 2d 32 30 30 37 30 33 33 30 vs-20070330 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9f83240: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 17 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 19 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length: 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 35 5 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9fb9370: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 23 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 25 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 43 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 74 65 Content-type: te 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 78 74 2f 68 74 6d 6c xt/html 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9fb9388: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 16 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 18 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 50 72 61 67 6d 61 3a 20 6e 6f 2d 63 61 63 68 65 Pragma: no-cache 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9f8e4a0: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 23 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 25 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 43 61 63 68 65 2d 43 6f 6e 74 72 6f 6c 3a 20 6e Cache-Control: n 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 6f 2d 63 61 63 68 65 o-cache 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] DEBUG: Reply body: 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string at 0x9f8e4b8: 2007-04-03 17:47:02 [4199] [0] DEBUG: len: 5 2007-04-03 17:47:02 [4199] [0] DEBUG: size: 6 2007-04-03 17:47:02 [4199] [0] DEBUG: immutable: 0 2007-04-03 17:47:02 [4199] [0] DEBUG: data: 53 65 6e 74 2e Sent. 2007-04-03 17:47:02 [4199] [0] DEBUG: Octet string dump ends. 2007-04-03 17:47:02 [4199] [0] INFO: This thread: 1 succeeded, 0 failed. 2007-04-03 17:47:02 [4199] [0] INFO: 1 requests in 0.000000 seconds, inf requests/s. 2007-04-03 17:47:02 [4199] [0] DEBUG: Waiting for 2 (gwlib/http.c:write_request_thread) to terminate 2007-04-03 17:47:02 [4199] [2] DEBUG: Thread 2 (gwlib/http.c:write_request_thread) terminates. 2007-04-03 17:47:02 [4199] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2007-04-03 17:47:02 [4199] [0] DEBUG: Immutable octet strings: 7.