couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1092252 - /couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl
Date Thu, 14 Apr 2011 13:57:58 GMT
Author: fdmanana
Date: Thu Apr 14 13:57:58 2011
New Revision: 1092252

URL: http://svn.apache.org/viewvc?rev=1092252&view=rev
Log:
Merged revision 1092247 from trunk

    Include OTP minor release information in the Server header

    This is mostly to help diagnose issues that might be related
    to specific OTP releases.


Modified:
    couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl

Modified: couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl?rev=1092252&r1=1092251&r2=1092252&view=diff
==============================================================================
--- couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl (original)
+++ couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl Thu Apr 14 13:57:58 2011
@@ -842,9 +842,8 @@ negotiate_content_type(#httpd{mochi_req=
     end.
 
 server_header() ->
-    OTPVersion = "R" ++ integer_to_list(erlang:system_info(compat_rel)) ++ "B",
     [{"Server", "CouchDB/" ++ couch_server:get_version() ++
-                " (Erlang OTP/" ++ OTPVersion ++ ")"}].
+                " (Erlang OTP/" ++ erlang:system_info(otp_release) ++ ")"}].
 
 
 -record(mp, {boundary, buffer, data_fun, callback}).



Mime
View raw message