SICS-128: Added a reactor status protocol handler called OPALSTAT for the asyncqueue.
OPALSTAT uses HTTP/1.1 and sets the UserAgent to SICS to avoid re-directs. It also sends the SICS version and revision numbers in the UserAgent string.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
fileeval $cfPath(source)/sct_reactor_status.tcl
|
||||
|
||||
if {[SplitReply [opal_simulation]]=="false"} {
|
||||
MakeAsyncProtocol std
|
||||
std sendterminator \r\n\r\n
|
||||
std replyterminator 0x03
|
||||
MakeAsyncQueue aqreactor std portal.nbi.ansto.gov.au 80
|
||||
MakeAsyncQueue aqreactor OPALSTAT neutron.ansto.gov.au 80
|
||||
aqreactor timeout 2000
|
||||
}
|
||||
add_reactor_status source aqadapter aqreactor
|
||||
|
||||
Reference in New Issue
Block a user