Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

preparing for 1.78

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1332 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
commit ddf3bee5f8819833fe08c9b18e3e3e9e8c408385 1 parent 39a4e1d
@klacke authored
View
4 man/yaws.1
@@ -153,6 +153,10 @@ Control the trace capabilities of a running yaws daemon. If the
http or traffic option is given, the daemon will write a log
for debug purposes into the logdir.
+.TP
+\fB--wait-started [--id ID] \fR
+Waits at most 5 seconds for the server to start. Exits with 0 if
+server is running, 1 otherwise. Typically useful in test scripts.
.SH MISC OPTIONS
View
18 scripts/yaws.template
@@ -81,6 +81,22 @@ mnesia="";
id="default";
pdist=""
erlarg=""
+program=$0
+
+wait_started() {
+ i=0
+ while (test $i -lt 6); do
+ sleep 1
+ i=`expr $i + 1`
+ ${program} --id ${id} --status 2>&1 > /dev/null
+ if [ $? = 0 ]; then
+ exit 0
+ fi
+ done
+ echo "No yaws system responding for id=${id}"
+ exit 1
+}
+
while [ $# -gt 0 ]
do
@@ -98,6 +114,8 @@ while [ $# -gt 0 ]
erl=$werl;;
-D|--daemon)
daemon=" -detached ";;
+ --wait-started)
+ wait_started;;
-d|--debug)
debug=" -boot start_sasl -yaws debug ";;
-t|--tracetraf)
View
4 src/yaws_ctl.erl
@@ -37,9 +37,7 @@ run(GC) ->
%% with the same sid.
case connect(GC#gconf.id) of
{ok, Sock, _Key} ->
- %% Not good, let's get some sys info
- %% from that system so we can produce a good error
- %% message
+ %% Not good,
gen_tcp:close(Sock),
e("There is already a yaws system running with the same ~n"
" id <~p> on this computer and this user, ~n"
View
1  test/support/include.mk.in
@@ -20,6 +20,7 @@ tclean:
setup:
@rm -rf logs 2> /dev/null
@mkdir logs
+ @$(MAKE) stop 2>&1 > /dev/null || true
$(MAKE) start
start:
View
3  vsn.mk
@@ -1 +1,2 @@
-YAWS_VSN=1.77
+YAWS_VSN=1.78
+
View
30 www/news
@@ -1,3 +1,33 @@
+Thu Jan 8 22:00:51 CET 2009 version 1.78
+Added --wait-started option to the yaws script (klacke)
+Added initial test suites (klacke)
+wrap log infinity bug found bt Phanikar.K
+allow keys with multiple values within opaque data
+fix handling of any existing listen_opts when reading listen_backlog conf variable (vinovsky)
+incorporate Lev Walkin's patch for a configurable TCP listen backlog, adding yaws.conf support and documentation as well (vinovski)
+Added sendfile support, Works on Linux, FreeBSD and MacosX (vinovski)
+patch by wde@free.fr to let errormod_crash return {content, MimeType, Cont}
+added support/docs for authbind/privbind (klacke)
+handle 100 continue with POST patch by Haobu Yu
+configure/latex support and also slightly nicer listdir output by Hans Ulrich Niedermann
+better soap docs by Stu Bailey
+haxe serialization patch by Tomas Abrahamsson
+proc dict/proc_lib patch by Magnus F
+mime type patch by Tomas Abrahamsson
+POST patch for .yaws files (submitted by Tomas Abrahamsson)
+Several new MIME types added (vinovski)
+patch from magnus Froberg addressing a sync issue with add-sconf, e.g. dynamic updates that manifested itself when add_sconf was run several times in a row in certain scenarios.
+Implement special handling of the '*' URI for the OPTIONS method as specified in RFC2616 section 9.2. (vinovski)
+Added more thorough support for the HTTP OPTIONS method. For "active" applications such as appmods and yapps, the OPTIONS method is delivered through to the application for processing. For "passive" resources such as files and directories, OPTIONS returns a canned response just as before. (vinovski)
+added redirect_self() to yaws_api (klacke)
+yaws.rel.src was missing and better error printuts when yaws.conf is missing, patch by Vance Shipley
+solaris patch by Vance Shipley
+name of a file sent in a multipart request contains quotes, I get a crash pathh by Michael Slaski
+Blindly applied soap patch from Vance shipley addressing ... which causes operations to be missed when there are more than one port type in a WSDL.
+file descriptor leak found by John Fessenden
+modified patch by Robert David to add a hook to yaws session server when a session is gone
+Vance Shipley patch to correct error handling in yaws_soap_lib
+
Mon Jun 16 22:44:45 CEST 2008 version 1.77
Content-Length chunked patch by Oleg Avdeev
eaccess typos in confd_ctl.erl - Sergei Golovan
Please sign in to comment.
Something went wrong with that request. Please try again.