couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1092247 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Date Thu, 14 Apr 2011 13:56:27 GMT
Author: fdmanana
Date: Thu Apr 14 13:56:27 2011
New Revision: 1092247

URL: http://svn.apache.org/viewvc?rev=1092247&view=rev
Log:
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/trunk/src/couchdb/couch_httpd.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=1092247&r1=1092246&r2=1092247&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd.erl Thu Apr 14 13:56:27 2011
@@ -844,9 +844,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