Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2302e27d
Kaydet (Commit)
2302e27d
authored
May 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up passing Boolean value to osl::Socket::setOption
Change-Id: I6757f2bc7e8b4ff9d7b3ebda88da35a5d7b93655
üst
f9290d30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
acc_socket.cxx
io/source/acceptor/acc_socket.cxx
+1
-1
connector.cxx
io/source/connector/connector.cxx
+1
-1
No files found.
io/source/acceptor/acc_socket.cxx
Dosyayı görüntüle @
2302e27d
...
...
@@ -386,7 +386,7 @@ namespace io_acceptor {
if
(
m_bTcpNoDelay
||
remoteHostname
==
"localhost"
||
remoteHostname
.
startsWith
(
"127.0.0."
)
)
{
sal_Int32
nTcpNoDelay
=
sal_
True
;
sal_Int32
nTcpNoDelay
=
sal_
Int32
(
true
)
;
pConn
->
m_socket
.
setOption
(
osl_Socket_OptionTcpNoDelay
,
&
nTcpNoDelay
,
sizeof
(
nTcpNoDelay
)
,
osl_Socket_LevelTcp
);
}
...
...
io/source/connector/connector.cxx
Dosyayı görüntüle @
2302e27d
...
...
@@ -136,7 +136,7 @@ namespace stoc_connector
// it can make a significant speed difference on linux boxes.
if
(
bTcpNoDelay
||
aHost
==
"localhost"
||
aHost
.
startsWith
(
"127.0.0."
)
)
{
sal_Int32
nTcpNoDelay
=
sal_
True
;
sal_Int32
nTcpNoDelay
=
sal_
Int32
(
true
)
;
pConn
->
m_socket
.
setOption
(
osl_Socket_OptionTcpNoDelay
,
&
nTcpNoDelay
,
sizeof
(
nTcpNoDelay
)
,
osl_Socket_LevelTcp
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment