phoenix-firestorm/indra/llmessage
Nat Goodspeed 8e8eb76eb9 CHOP-661: add and use code to listen on next available server port.
In indra/llmessage/tests/testrunner.py, introduce new freeport() function to
try a caller-specified expression (such as instantiating an object that will
listen on a server port) with a range of candidate port numbers until the
expression produces a value instead of EADDRINUSE exception.
Change test_llsdmessage_peer.py and test_llxmlrpc_peer.py to use freeport() to
construct their server class inline BEFORE launching the thread that will run
it, then pass that server's serve_forever method to daemon thread. Also set
os.environ["PORT"] to selected environment variable before running subject
test program.
In indra/llmessage/tests/commtest.h, introduce commtest_data::getport() to
read port number from specified environment variable, throwing exception if
variable not set or non-numeric. Construct default LLHost from getport("PORT")
instead of hardcoded constant.
Change indra/newview/tests/llxmlrpclistener_test.cpp to use commtest_data::
getport("PORT") instead of hardcoded constant. Also use LLSD::with() rather
than older LLSD::insert() syntax.
HOWEVER -- I am irritated to discover that llxmlrpclistener_test IS NOT RUN or
even built by newview/CMakeLists.txt! It's not even commented out -- it's
entirely deleted! I am determined to restore this test. However, as it will
take some fiddling with new link-time dependencies, that will be a separate
commit.
2011-05-10 08:21:21 -04:00
..
tests CHOP-661: add and use code to listen on next available server port. 2011-05-10 08:21:21 -04:00
CMakeLists.txt sync up to latest viewer-development 2011-03-11 19:42:26 -05:00
llares.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llares.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llareslistener.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llareslistener.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llassetstorage.cpp STORM-380 FIXED Added syncing animations and sounds before the gesture starts playing. 2011-04-22 01:07:52 +03:00
llassetstorage.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llavatarnamecache.cpp STORM-1039 FIXED Bad iterator access in llavatarnamecache.cpp:564 2011-04-28 19:33:20 -07:00
llavatarnamecache.h DN-202: Make avatar name caching more aggressive and error handling more uniform 2011-01-16 21:41:08 -05:00
llblowfishcipher.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llblowfishcipher.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llbuffer.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llbuffer.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llbufferstream.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llbufferstream.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llcachename.cpp DN-217 Changing between View Display Names on and off during a conference call session put viewer in a state where last name resident was shown in viewer everywhere for user in conference call with last name resident. 2010-11-30 16:37:31 -08:00
llcachename.h DN-181 Chat & IM logs saved in unreadable .llsd instead of .txt 2010-10-22 17:41:06 -07:00
llchainio.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llchainio.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llcipher.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llcircuit.cpp ER-428 / CTS-422 : [PUBLIC] movement updates are lost when walking. Changed code to detect if the circuit has stopped getting packets. Reviewed by Andrew 2011-01-19 12:54:05 -08:00
llcircuit.h ER-428 / CTS-422 : [PUBLIC] movement updates are lost when walking. Changed code to detect if the circuit has stopped getting packets. Reviewed by Andrew 2011-01-19 12:54:05 -08:00
llclassifiedflags.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llclassifiedflags.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llcurl.cpp EXP-772 -- Log in failure, keeps saying DNS cannot resolve hostname. 2011-05-04 16:27:59 -07:00
llcurl.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lldatapacker.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lldatapacker.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lldbstrings.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lldispatcher.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lldispatcher.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lleventflags.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llfiltersd2xmlrpc.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llfiltersd2xmlrpc.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llfollowcamparams.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhost.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhost.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpassetstorage.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpassetstorage.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpclient.cpp Backed out changeset c3d41f18ce2b 2010-08-24 19:22:00 +01:00
llhttpclient.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpclientadapter.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpclientadapter.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpclientinterface.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpnode.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpnode.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpnodeadapter.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpsender.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llhttpsender.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llinstantmessage.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llinstantmessage.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llinvite.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliobuffer.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliobuffer.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliohttpserver.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliohttpserver.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliopipe.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliopipe.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliosocket.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lliosocket.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llioutil.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llioutil.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llloginflags.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmail.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmail.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagebuilder.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagebuilder.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessageconfig.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessageconfig.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagereader.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagereader.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagesenderinterface.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagetemplate.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagetemplate.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagetemplateparser.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagetemplateparser.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagethrottle.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmessagethrottle.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmime.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmime.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llmsgvariabletype.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llnamevalue.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llnamevalue.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llnullcipher.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llnullcipher.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpacketack.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpacketack.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpacketbuffer.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpacketbuffer.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpacketring.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpacketring.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpartdata.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpartdata.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llpumpio.cpp Backed out changeset c3d41f18ce2b 2010-08-24 19:22:00 +01:00
llpumpio.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llqueryflags.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llregionflags.h STORM-807 : Clean up code as discussed with Andrew 2011-01-10 18:01:16 -08:00
llregionhandle.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llregionpresenceverifier.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llregionpresenceverifier.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdappservices.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdappservices.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdhttpserver.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdhttpserver.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdmessage.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdmessage.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdmessagebuilder.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdmessagebuilder.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdmessagereader.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdmessagereader.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdrpcclient.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdrpcclient.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdrpcserver.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llsdrpcserver.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llservice.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llservice.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llservicebuilder.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llservicebuilder.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llstoredmessage.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llstoredmessage.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltaskname.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llteleportflags.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltemplatemessagebuilder.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltemplatemessagebuilder.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltemplatemessagedispatcher.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltemplatemessagedispatcher.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltemplatemessagereader.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltemplatemessagereader.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llthrottle.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llthrottle.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfermanager.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfermanager.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfersourceasset.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfersourceasset.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfersourcefile.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfersourcefile.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfertargetfile.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfertargetfile.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfertargetvfile.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltransfertargetvfile.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltrustedmessageservice.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lltrustedmessageservice.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llurlrequest.cpp VWR-25376 Enable compression for GET and POST for Inventory and other capabilities. 2011-04-01 16:36:00 -07:00
llurlrequest.h Backed out changeset c3d41f18ce2b 2010-08-24 19:22:00 +01:00
lluseroperation.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lluseroperation.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llvehicleparams.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer_file.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer_file.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer_mem.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer_mem.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer_vfile.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfer_vfile.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfermanager.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxfermanager.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxorcipher.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llxorcipher.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
machine.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
machine.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
mean_collision_data.h Post-convert merge by convert_monolith.py from /Users/Aimee/Documents/Work/Linden-Lab/Development/viewer/convert/viewer-identity-evolution 2010-09-03 17:41:39 +01:00
message.cpp VWR-24487 make PREHASH variables char const* const 2011-04-01 09:14:52 -04:00
message.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
message_prehash.cpp VWR-24487 make PREHASH variables char const* const 2011-04-01 09:14:52 -04:00
message_prehash.h VWR-24487 make PREHASH variables char const* const 2011-04-01 09:14:52 -04:00
message_string_table.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
net.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
net.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
partsyspacket.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
partsyspacket.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
patch_code.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
patch_code.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
patch_dct.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
patch_dct.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
patch_idct.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
sound_ids.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
sound_ids.h Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00