1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Ruben Oliveira Chiavone
50185aec02
Fail build if compiling extensions raises warnings (#1953) (#2494)
* Fail build if compiling extensions raises warnings (#1953)

Make warning into errors and also fix all compiler warnings reported in
mini_ssl source code.

* Fix some compiler warnings and errors reported by checks

* Add MAKE_WARNINGS_INTO_ERRORS env variable

MAKE_WARNINGS_INTO_ERRORS environment variable toggles whether a build should
treat all warnings into errors or not.

Move appending WERRORFLAG to cflags after OpenSSL methods verification because
on some specifics builds this causes mkmf to wrongly detect methods in OpenSSL
headers.

* Add noentry to write date to avoid unused variables

* Ignore implicit-fallthrough warnings

Those warnings are related to ragel state machine generated code.

* Enforce no warnings on GH Actions

* Update History.md file reflecting latest changes
2020-12-01 06:51:16 -07:00
MSP-Greg
06647e2187
extconf.rb - fixup for 1.1.1 change from 1.1.0 (#2499) 2020-11-30 08:51:48 -07:00
MSP-Greg
21a33f73a9
Actions - Add nonMRI workflow - allow failure - JRuby, TruffleRuby [changelog skip] (#2185)
* Actions - Add nonMRIHead workflow - allow failure - JRuby, TruffleRuby

Also, on Windows, add Ruby 2.2 and fix compile code

* extconf.rb - minor fix for old Windows Rubies

* JRuby fixes for CI

1. lib/puma/minissl.rb - add 'correct' constants so CI will run

2. test/shell/t*.rb - extend time to start by two seconds for JRuby

* Delete .travis.yml
2020-03-17 06:16:45 -06:00
MSP-Greg
5fef2b715f Windows update extconf.rb (#2069)
for use with ssp and varied Ruby/MSYS2 combinations
2019-11-09 14:16:34 +08:00
MSP-Greg
9d787cc2b5 extconf.rb - fix for new gcc on MingW (#2044) 2019-10-20 12:26:46 +08:00
MSP-Greg
18140082d6 Use OpenSSL DTLS_method & TLS_server_method when available (#1832)
* Add extconf test for DTLS_method & use in mini_ssl.c

* Rakefile - use require_relative for 'lib/puma/detect'

* Add Trusty OpenSSL 1.0.1 job to Travis

* Add extconf test for TLS_server_method & use in mini_ssl.c
2019-07-08 15:49:45 -04:00
Evan Phoenix
46416cb49e More gracefully deal with SSL sessions. Fixes #1002
The problem was a few points:

* We were not clearing the reactor on a normal stop, which is what
  is used in a phased restart.
* On close, SSL sockets were not sending the shutdown message.
* SSL sockets that were completely uninitialized ended up sitting
  in reactor and could not actually be shutdown because there were
  not initialized.
2016-07-25 18:44:48 -07:00
Evan Phoenix
302954190c Make building with SSL support optional 2015-09-18 09:43:51 -07:00
rdpoor
7d52386578 Update extconf.rb to compile correctly on OS X 2014-12-19 20:51:00 -08:00
Joel Low
46d970402e Keep deprecated features warnings, because that happens to be a command line argument prefix also used by Visual C++, but that is a fatal compiler error (invalid argument) 2014-07-12 09:55:16 +08:00
Joel Low
e6e57b1092 Wrong block variable reference. 2014-07-12 09:52:50 +08:00
Joel Low
8f9dc99e91 Use the correct Windows names for OpenSSL. 2014-07-12 09:49:51 +08:00
Joel Low
79e1f6c7ff Use library detection instead of hardcoding library paths, for cross-platform compatibility. 2014-07-12 09:19:28 +08:00
Evan Phoenix
327e2013e1 Get OpenSSL driven version working 2012-08-22 22:06:47 -07:00
Evan Phoenix
f792702dab Start MiniSSL 2012-08-22 16:53:25 -07:00
Luis Lavena
474ba70647 Build extensions
And place the resulting extension in 'puma' namespace
2012-01-08 16:32:32 -03:00
Evan Phoenix
40dac162a2 Change name of parser extension to puma_http11 2011-10-04 20:35:50 -07:00