File: dso_foo.htt

package info (click to toggle)
httest 2.4.23-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,876 kB
  • sloc: ansic: 19,553; sh: 10,550; xml: 1,047; makefile: 510; lisp: 145; perl: 31
file content (19 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@:SKIP $HOSTNAME mini # full static linking or windows

DSO:LOAD_TRANSPORT_DSO $TOP/src/.libs/libhello.so foo

CLIENT
_SET config=<foo><bar>bla</bar></foo>
_DSO:GET_TRANSPORT_OBJECT foo foo_front VAR(config)
__GET / HTTP/1.1
__
_EXPECT . "200 OK"
_WAIT
END

SERVER 8080 DOWN
_DSO:GET_TRANSPORT_OBJECT foo foo_back
_WAIT
__HTTP/1.1 200 OK
__
END